mirror of
https://github.com/python/cpython.git
synced 2025-12-18 14:51:31 +00:00
Merge with 3.5
This commit is contained in:
commit
6160b357b9
2 changed files with 6 additions and 0 deletions
Binary file not shown.
|
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 48 KiB |
|
|
@ -476,6 +476,12 @@ def venv(known_paths):
|
||||||
system_site = value.lower()
|
system_site = value.lower()
|
||||||
elif key == 'home':
|
elif key == 'home':
|
||||||
sys._home = value
|
sys._home = value
|
||||||
|
elif key == 'applocal' and value.lower() == 'true':
|
||||||
|
# App-local installs use the exe_dir as prefix,
|
||||||
|
# not one level higher, and do not use system
|
||||||
|
# site packages.
|
||||||
|
site_prefix = exe_dir
|
||||||
|
system_site = 'false'
|
||||||
|
|
||||||
sys.prefix = sys.exec_prefix = site_prefix
|
sys.prefix = sys.exec_prefix = site_prefix
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue