mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Addressed some buildbot errors and comments on the checkin by Antoine on python-dev.
This commit is contained in:
parent
072b1e1485
commit
42211426eb
4 changed files with 50 additions and 57 deletions
|
@ -47,7 +47,8 @@ def _is_python_source_dir(d):
|
|||
return True
|
||||
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 _python_build():
|
||||
if _sys_home:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue