2020-05-20 19:32:40 +00:00
|
|
|
python_home = '/usr/local/envs/crcpython3'
|
2020-05-20 18:21:39 +00:00
|
|
|
|
2020-05-20 18:01:09 +00:00
|
|
|
import os
|
|
|
|
import sys
|
|
|
|
|
2020-05-20 18:21:39 +00:00
|
|
|
# Calculate path to site-packages directory.
|
|
|
|
|
|
|
|
python_version = '.'.join(map(str, sys.version_info[:2]))
|
|
|
|
site_packages = python_home + '/lib/python%s/site-packages' % python_version
|
|
|
|
|
|
|
|
# Add the site-packages directory.
|
|
|
|
|
|
|
|
site.addsitedir(site_packages)
|
|
|
|
|
2020-05-20 18:01:09 +00:00
|
|
|
from crc import app as application
|