Kaydet (Commit) 5e742fa9 authored tarafından INADA Naoki's avatar INADA Naoki Kaydeden (comit) Victor Stinner

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

üst 73528640
......@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment