switched the call order so this call works without suffering from issue #7774
This commit is contained in:
parent
82230f952d
commit
ef97caf111
|
@ -84,7 +84,7 @@ _PREFIX = os.path.normpath(sys.prefix)
|
||||||
_EXEC_PREFIX = os.path.normpath(sys.exec_prefix)
|
_EXEC_PREFIX = os.path.normpath(sys.exec_prefix)
|
||||||
_CONFIG_VARS = None
|
_CONFIG_VARS = None
|
||||||
_USER_BASE = None
|
_USER_BASE = None
|
||||||
_PROJECT_BASE = os.path.dirname(abspath(sys.executable))
|
_PROJECT_BASE = abspath(os.path.dirname(sys.executable))
|
||||||
|
|
||||||
if os.name == "nt" and "pcbuild" in _PROJECT_BASE[-8:].lower():
|
if os.name == "nt" and "pcbuild" in _PROJECT_BASE[-8:].lower():
|
||||||
_PROJECT_BASE = abspath(os.path.join(_PROJECT_BASE, pardir))
|
_PROJECT_BASE = abspath(os.path.join(_PROJECT_BASE, pardir))
|
||||||
|
|
Loading…
Reference in New Issue