diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2014-12-30 12:37:02 -0500 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2014-12-30 12:37:02 -0500 |
commit | fddd230b60c17ca2100e41962de7b9e16ee85408 (patch) | |
tree | a0f6da9f23108e69c37cd5464e98830d26e2f3b2 /setuptools/sandbox.py | |
parent | 9419ec6858f28bc23fde222c223cc20dc28a0874 (diff) | |
download | external_python_setuptools-fddd230b60c17ca2100e41962de7b9e16ee85408.tar.gz external_python_setuptools-fddd230b60c17ca2100e41962de7b9e16ee85408.tar.bz2 external_python_setuptools-fddd230b60c17ca2100e41962de7b9e16ee85408.zip |
Ensure setuptools is present in the environment before invoking setup.py from easy_install. Fixes #319.
Diffstat (limited to 'setuptools/sandbox.py')
-rwxr-xr-x | setuptools/sandbox.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/setuptools/sandbox.py b/setuptools/sandbox.py index c6840ce4..b90d1e1b 100755 --- a/setuptools/sandbox.py +++ b/setuptools/sandbox.py @@ -152,6 +152,8 @@ def setup_context(setup_dir): with save_argv(): with override_temp(temp_dir): with pushd(setup_dir): + # ensure setuptools commands are available + __import__('setuptools') yield |