aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools')
-rwxr-xr-xsetuptools/sandbox.py2
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