From 2d37cb2e1df89fd6df1615953c922c1729799a04 Mon Sep 17 00:00:00 2001 From: Steve Dower Date: Fri, 17 Jul 2015 11:59:21 -0700 Subject: Fixes sys.path for applocal environments. --- Lib/site.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Lib/site.py b/Lib/site.py index b7d0331..6f66c07 100644 --- a/Lib/site.py +++ b/Lib/site.py @@ -476,6 +476,12 @@ 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 -- cgit v0.12 From af75a54193891384b19ebdf1f26cbcf965717a10 Mon Sep 17 00:00:00 2001 From: Steve Dower Date: Fri, 17 Jul 2015 11:59:35 -0700 Subject: Removes my username from the documentation. --- Doc/using/win_installer.png | Bin 48953 -> 48994 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/Doc/using/win_installer.png b/Doc/using/win_installer.png index e5d5e07..00c88a8 100644 Binary files a/Doc/using/win_installer.png and b/Doc/using/win_installer.png differ -- cgit v0.12