mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Ensure that test_site actually passes with a framework build
This commit is contained in:
parent
794f5b3559
commit
bda4672b01
3 changed files with 4 additions and 7 deletions
|
@ -295,7 +295,7 @@ def getsitepackages():
|
|||
# locations.
|
||||
from sysconfig import get_config_var
|
||||
framework = get_config_var("PYTHONFRAMEWORK")
|
||||
if framework and "/%s.framework/"%(framework,) in prefix:
|
||||
if framework:
|
||||
sitepackages.append(
|
||||
os.path.join("/Library", framework,
|
||||
sys.version[:3], "site-packages"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue