Skip to content

Commit 5e742fa

Browse files
methanevstinner
authored andcommitted
bpo-30804: fix macOS build with framework enabled. (#2516)
1 parent 7352864 commit 5e742fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/site.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,8 +343,8 @@ def getsitepackages(prefixes=None):
343343
# for framework builds *only* we add the standard Apple locations.
344344
if sys.platform == "darwin" and sys._framework:
345345
sitepackages.append(
346-
os.path.join("/Library", framework,
347-
'%d.%d' % sys.version_info[:2], "site-packages"))
346+
os.path.join("/Library", sys._framework,
347+
'%d.%d' % sys.version_info[:2], "site-packages"))
348348
return sitepackages
349349

350350
def addsitepackages(known_paths, prefixes=None):

0 commit comments

Comments
 (0)