diff options
| author | tarek <none@none> | 2009-07-21 13:57:44 +0200 |
|---|---|---|
| committer | tarek <none@none> | 2009-07-21 13:57:44 +0200 |
| commit | 1571d34a42b97f382f163901737eff70ba28b89d (patch) | |
| tree | 1e74ee4ae09a5ae34e2ac69bac7defa8cbb57035 /ez_setup.py | |
| parent | 126f4fdf7bf93877fd188769360631e1631b5f50 (diff) | |
| download | python-setuptools-git-1571d34a42b97f382f163901737eff70ba28b89d.tar.gz | |
forcing a distribute reinstallation over an existing setuptools one
--HG--
branch : distribute
extra : rebase_source : a44844ab6dc54f82f172fcf55d01f78eab25beaf
Diffstat (limited to 'ez_setup.py')
| -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: |
