From: Tarek Ziadé Date: Mon, 25 Jan 2010 23:19:56 +0000 (+0000) Subject: switched the call order so this call works without suffering from issue #7774 X-Git-Tag: v2.7a3~86 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ef97caf111a61445a11cfd7573c86f3be09509aa;p=python switched the call order so this call works without suffering from issue #7774 --- diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py index 60d8ce6a2a..4552959edf 100644 --- a/Lib/sysconfig.py +++ b/Lib/sysconfig.py @@ -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))