fix for building python 3 windows binaries
This commit is contained in:
1 parent
a828cb2124
commit
c1e5571de8
1 file changed
+1
@@ -436,6 +436,7 @@ def add_path_first(path):
|
|||||||
sys.path = [path] + [p for p in sys.path if (
|
sys.path = [path] + [p for p in sys.path if (
|
||||||
not p == path and not p == (path + '/'))]
|
not p == path and not p == (path + '/'))]
|
||||||
if not global_settings.web2py_runtime_gae:
|
if not global_settings.web2py_runtime_gae:
|
||||||
|
if not path in sys.path:
|
||||||
site.addsitedir(path)
|
site.addsitedir(path)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user