summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2016-09-10 00:59:49 (GMT)
committerZachary Ware <zachary.ware@gmail.com>2016-09-10 00:59:49 (GMT)
commitc4b53afce491142b80b228a21a05de5dcfd8d36f (patch)
tree4fd78ef4e4fcabc46bbff33825cf7ffba4c64e58 /Mac
parentb44acebc7bdde44dc1f952a8fa498a155a35e509 (diff)
downloadcpython-c4b53afce491142b80b228a21a05de5dcfd8d36f.zip
cpython-c4b53afce491142b80b228a21a05de5dcfd8d36f.tar.gz
cpython-c4b53afce491142b80b228a21a05de5dcfd8d36f.tar.bz2
Issue #28046: Remove platform-specific directories from sys.path
Diffstat (limited to 'Mac')
-rwxr-xr-xMac/BuildScript/build-installer.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Mac/BuildScript/build-installer.py b/Mac/BuildScript/build-installer.py
index b0d4444..ef93a6e 100755
--- a/Mac/BuildScript/build-installer.py
+++ b/Mac/BuildScript/build-installer.py
@@ -1292,7 +1292,8 @@ def buildPython():
import pprint
if getVersionMajorMinor() >= (3, 6):
- path = os.path.join(path_to_lib, 'plat-darwin', '_sysconfigdata_m.py')
+ # XXX this is extra-fragile
+ path = os.path.join(path_to_lib, '_sysconfigdata_m_darwin_darwin.py')
else:
path = os.path.join(path_to_lib, '_sysconfigdata.py')
fp = open(path, 'r')