From 22715bcc472ac5b41cfcd94fa7ca26a5cef01eb9 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sun, 28 Dec 2014 20:54:46 -0500 Subject: Disable purging of distutils/setuptools during sandbox operations. Ref #315. --- setuptools/sandbox.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'setuptools/sandbox.py') diff --git a/setuptools/sandbox.py b/setuptools/sandbox.py index f1b60cc0..e3c18e39 100755 --- a/setuptools/sandbox.py +++ b/setuptools/sandbox.py @@ -126,7 +126,9 @@ def setup_context(setup_dir): temp_dir = os.path.join(setup_dir, 'temp') with save_pkg_resources_state(): with save_modules(): - hide_setuptools() + # Disabled per + # https://bitbucket.org/pypa/setuptools/issue/315/setuptools-should-always-use-its-own#comment-14512075 + # hide_setuptools() with save_path(): with save_argv(): with override_temp(temp_dir): -- cgit v1.2.3