diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2012-05-26 19:36:12 (GMT) |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2012-05-26 19:36:12 (GMT) |
commit | 42211426eb9771424b9e5153d12f8c2c0c538d34 (patch) | |
tree | 3b4e48b2a151ddf75d0c350e4acb6e26e4dcbab6 /Lib/sysconfig.py | |
parent | 072b1e1485e50b3698c9147ef6dd5b657c100978 (diff) | |
download | cpython-42211426eb9771424b9e5153d12f8c2c0c538d34.zip cpython-42211426eb9771424b9e5153d12f8c2c0c538d34.tar.gz cpython-42211426eb9771424b9e5153d12f8c2c0c538d34.tar.bz2 |
Addressed some buildbot errors and comments on the checkin by Antoine on python-dev.
Diffstat (limited to 'Lib/sysconfig.py')
-rw-r--r-- | Lib/sysconfig.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py index 6ed9fd8..7350efb 100644 --- a/Lib/sysconfig.py +++ b/Lib/sysconfig.py @@ -104,7 +104,8 @@ def _is_python_source_dir(d): return False _sys_home = getattr(sys, '_home', None) -if _sys_home and os.name == 'nt' and _sys_home.lower().endswith('pcbuild'): +if _sys_home and os.name == 'nt' and \ + _sys_home.lower().endswith(('pcbuild', 'pcbuild\\amd64')): _sys_home = os.path.dirname(_sys_home) def is_python_build(check_home=False): |