summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorINADA Naoki <methane@users.noreply.github.com>2017-06-30 17:38:02 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2017-06-30 17:38:02 (GMT)
commit5e742fa922ea70131b4c63451c87cf0347532806 (patch)
treec0740a97ef950d2ee4fe404ea5af550564758af1 /Lib
parent73528640ffd872141e126d2c4a103126055ec9ce (diff)
downloadcpython-5e742fa922ea70131b4c63451c87cf0347532806.zip
cpython-5e742fa922ea70131b4c63451c87cf0347532806.tar.gz
cpython-5e742fa922ea70131b4c63451c87cf0347532806.tar.bz2
bpo-30804: fix macOS build with framework enabled. (#2516)
Diffstat (limited to 'Lib')
-rw-r--r--Lib/site.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/site.py b/Lib/site.py
index d693bc8..7dc1b04 100644
--- a/Lib/site.py
+++ b/Lib/site.py
@@ -343,8 +343,8 @@ def getsitepackages(prefixes=None):
# for framework builds *only* we add the standard Apple locations.
if sys.platform == "darwin" and sys._framework:
sitepackages.append(
- os.path.join("/Library", framework,
- '%d.%d' % sys.version_info[:2], "site-packages"))
+ os.path.join("/Library", sys._framework,
+ '%d.%d' % sys.version_info[:2], "site-packages"))
return sitepackages
def addsitepackages(known_paths, prefixes=None):