From c4b53afce491142b80b228a21a05de5dcfd8d36f Mon Sep 17 00:00:00 2001 From: Zachary Ware Date: Fri, 9 Sep 2016 17:59:49 -0700 Subject: Issue #28046: Remove platform-specific directories from sys.path --- Mac/BuildScript/build-installer.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Mac/BuildScript/build-installer.py') diff --git a/Mac/BuildScript/build-installer.py b/Mac/BuildScript/build-installer.py index b0d4444d89..ef93a6edfe 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') -- cgit v1.2.1