Merge pull request #2125 from nicozanf/master
fix for building python 3 windows binaries
This commit is contained in:
+2
-1
@@ -436,7 +436,8 @@ def add_path_first(path):
|
||||
sys.path = [path] + [p for p in sys.path if (
|
||||
not p == path and not p == (path + '/'))]
|
||||
if not global_settings.web2py_runtime_gae:
|
||||
site.addsitedir(path)
|
||||
if not path in sys.path:
|
||||
site.addsitedir(path)
|
||||
|
||||
|
||||
def try_mkdir(path):
|
||||
|
||||
Reference in New Issue
Block a user