bpo-30804: fix macOS build with framework enabled. (#2516)

This commit is contained in:
INADA Naoki 2017-07-01 02:38:02 +09:00 committed by Victor Stinner
parent 73528640ff
commit 5e742fa922
1 changed files with 2 additions and 2 deletions

View File

@ -343,7 +343,7 @@ 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,
os.path.join("/Library", sys._framework,
'%d.%d' % sys.version_info[:2], "site-packages"))
return sitepackages