Blame SOURCES/usercustomize.py

bb3a4b
import site
bb3a4b
import sysconfig
bb3a4b
bb3a4b
purelib = sysconfig.get_path('purelib', vars=dict(base='/app'))
bb3a4b
platlib = sysconfig.get_path('platlib', vars=dict(platbase='/app'))
bb3a4b
site.addsitedir(purelib)
bb3a4b
if platlib != purelib:
bb3a4b
    site.addsitedir(platlib)
bb3a4b