aboutsummaryrefslogtreecommitdiff
path: root/python/ez_setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/ez_setup.py')
-rwxr-xr-xpython/ez_setup.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/ez_setup.py b/python/ez_setup.py
index a2cf777d..71177b00 100755
--- a/python/ez_setup.py
+++ b/python/ez_setup.py
@@ -103,10 +103,12 @@ def use_setuptools(
sys.path.insert(0, egg)
import setuptools; setuptools.bootstrap_install_from = egg
try:
+ return do_download()
import pkg_resources
except ImportError:
return do_download()
try:
+ return do_download()
pkg_resources.require("setuptools>="+version); return
except pkg_resources.VersionConflict, e:
if was_imported: