also check for 3.7

This commit is contained in:
j 2019-01-20 16:46:46 +05:30
parent 820190d9e6
commit cffffbde1c
2 changed files with 2 additions and 0 deletions

1
ctl
View file

@ -78,6 +78,7 @@ if [ $SYSTEM == "Darwin" ]; then
fi
PYTHONPATH="${PLATFORM_ENV}/lib/python${PLATFORM_PYTHON}/site-packages"
PYTHONPATH="${PYTHONPATH}:${SHARED_ENV}/lib/python${PLATFORM_PYTHON}/site-packages"
PYTHONPATH="${PYTHONPATH}:${SHARED_ENV}/lib/python${SHARED_PYTHON}/site-packages"
PYTHONPATH="${PYTHONPATH}:${BASE}/${NAME}"
export PYTHONPATH

View file

@ -12,6 +12,7 @@ if sys.platform == 'win32':
for site_packages in (
join(base, 'openmedialibrary'),
join(base, 'platform', 'Shared', 'lib', 'python3.4', 'site-packages'),
join(base, 'platform', 'Shared', 'lib', 'python3.7', 'site-packages'),
join(base, 'platform_win32', 'Lib', 'site-packages'),
):
site.addsitedir(site_packages)