1. Tarek Ziadé
  2. distribute

Commits

tarek  committed 5e85a77

forcing a distribute reinstallation over an existing setuptools one

  • Participants
  • Parent commits 38bb6c0
  • Branches default

Comments (0)

Files changed (1)

File ez_setup.py

View file
  • Ignore whitespace
         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: