diff options
author | Steve Dower <steve.dower@microsoft.com> | 2016-09-09 16:17:35 (GMT) |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2016-09-09 16:17:35 (GMT) |
commit | 4db86bc1b465d6e5fa047ddafb9042fc12787459 (patch) | |
tree | 882ef4180040d396c73fd6f40988c3f90cc207d1 /Lib/site.py | |
parent | 783c9ef84dad5fc136a271ccd7fc30d2e556a58e (diff) | |
download | cpython-4db86bc1b465d6e5fa047ddafb9042fc12787459.zip cpython-4db86bc1b465d6e5fa047ddafb9042fc12787459.tar.gz cpython-4db86bc1b465d6e5fa047ddafb9042fc12787459.tar.bz2 |
Changes pyvenv.cfg trick into an actual sys.path file.
Diffstat (limited to 'Lib/site.py')
-rw-r--r-- | Lib/site.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Lib/site.py b/Lib/site.py index a536ef1..5250266 100644 --- a/Lib/site.py +++ b/Lib/site.py @@ -463,12 +463,6 @@ def venv(known_paths): system_site = value.lower() elif key == 'home': 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 |