aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorINADA Naoki <methane@users.noreply.github.com>2017-07-01 02:38:02 +0900
committerVictor Stinner <victor.stinner@gmail.com>2017-06-30 19:38:02 +0200
commit5e742fa922ea70131b4c63451c87cf0347532806 (patch)
treec0740a97ef950d2ee4fe404ea5af550564758af1 /Lib/site.py
parentbpo-30818: test_ftplib calls asyncore.close_all() (#2514) (diff)
downloadcpython-5e742fa922ea70131b4c63451c87cf0347532806.tar.gz
cpython-5e742fa922ea70131b4c63451c87cf0347532806.tar.bz2
cpython-5e742fa922ea70131b4c63451c87cf0347532806.zip
bpo-30804: fix macOS build with framework enabled. (#2516)
Diffstat (limited to 'Lib/site.py')
-rw-r--r--Lib/site.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/site.py b/Lib/site.py
index d693bc8eb1a..7dc1b041c19 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):