bpo-30804: fix macOS build with framework enabled. (#2516)
This commit is contained in:
parent
73528640ff
commit
5e742fa922
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue