mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
Issue #10881: Fix test_site failures with OS X framework builds.
This commit is contained in:
parent
adb87e2677
commit
2c8bf04308
4 changed files with 19 additions and 16 deletions
|
|
@ -176,8 +176,9 @@ def _getuserbase():
|
|||
if sys.platform == "darwin":
|
||||
framework = get_config_var("PYTHONFRAMEWORK")
|
||||
if framework:
|
||||
return joinuser("~", "Library", framework, "%d.%d"%(
|
||||
sys.version_info[:2]))
|
||||
return env_base if env_base else \
|
||||
joinuser("~", "Library", framework, "%d.%d"
|
||||
% (sys.version_info[:2]))
|
||||
|
||||
return env_base if env_base else joinuser("~", ".local")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue