diff options
-rwxr-xr-x | ez_setup.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ez_setup.py b/ez_setup.py index cb570d69..e11b6ed8 100755 --- a/ez_setup.py +++ b/ez_setup.py @@ -63,6 +63,8 @@ def use_setuptools( import setuptools; setuptools.bootstrap_install_from = egg try: import pkg_resources + if not hasattr(pkg_resources, '_distribute'): + raise ImportError except ImportError: return do_download() try: |