aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/sandbox.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2014-12-28 20:54:46 -0500
committerJason R. Coombs <jaraco@jaraco.com>2014-12-28 20:54:46 -0500
commit22715bcc472ac5b41cfcd94fa7ca26a5cef01eb9 (patch)
tree1508667cf36e53f20ae13082ff1dc9bc52e3e460 /setuptools/sandbox.py
parentee14a898847efe9d53f7dc57b872805753463eb5 (diff)
downloadexternal_python_setuptools-22715bcc472ac5b41cfcd94fa7ca26a5cef01eb9.tar.gz
external_python_setuptools-22715bcc472ac5b41cfcd94fa7ca26a5cef01eb9.tar.bz2
external_python_setuptools-22715bcc472ac5b41cfcd94fa7ca26a5cef01eb9.zip
Disable purging of distutils/setuptools during sandbox operations. Ref #315.
Diffstat (limited to 'setuptools/sandbox.py')
-rwxr-xr-xsetuptools/sandbox.py4
1 files changed, 3 insertions, 1 deletions
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):