]> granicus.if.org Git - python/commitdiff
switched the call order so this call works without suffering from issue #7774
authorTarek Ziadé <ziade.tarek@gmail.com>
Mon, 25 Jan 2010 23:19:56 +0000 (23:19 +0000)
committerTarek Ziadé <ziade.tarek@gmail.com>
Mon, 25 Jan 2010 23:19:56 +0000 (23:19 +0000)
Lib/sysconfig.py

index 60d8ce6a2a389369cb66d608259f43d9e3dbe7e5..4552959edffbea45459ba782355b41b051b9fd23 100644 (file)
@@ -84,7 +84,7 @@ _PREFIX = os.path.normpath(sys.prefix)
 _EXEC_PREFIX = os.path.normpath(sys.exec_prefix)
 _CONFIG_VARS = 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():
     _PROJECT_BASE = abspath(os.path.join(_PROJECT_BASE, pardir))