From fddd230b60c17ca2100e41962de7b9e16ee85408 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Tue, 30 Dec 2014 12:37:02 -0500 Subject: Ensure setuptools is present in the environment before invoking setup.py from easy_install. Fixes #319. --- setuptools/sandbox.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'setuptools/sandbox.py') 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 -- cgit v1.2.3