Update syncserver.wsgi
Change the path of python packages from lib/pythonX.X/site-packages to local/lib/pythonX.X/sites-packages
This commit is contained in:
parent
0ee5588101
commit
624ceb4378
@ -11,7 +11,7 @@ from ConfigParser import NoSectionError
|
||||
# detecting if virtualenv was used in this dir
|
||||
_CURDIR = os.path.dirname(os.path.abspath(__file__))
|
||||
_PY_VER = sys.version.split()[0][:3]
|
||||
_SITE_PKG = os.path.join(_CURDIR, 'lib', 'python' + _PY_VER, 'site-packages')
|
||||
_SITE_PKG = os.path.join(_CURDIR, 'local', 'lib', 'python' + _PY_VER, 'site-packages')
|
||||
|
||||
# adding virtualenv's site-package and ordering paths
|
||||
saved = sys.path[:]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user