diff options
| author | tarek <none@none> | 2009-10-15 16:16:55 +0200 |
|---|---|---|
| committer | tarek <none@none> | 2009-10-15 16:16:55 +0200 |
| commit | 771be6089a83bb03edf8dc87cdce60d3a4d4e595 (patch) | |
| tree | 5f0392b8cd072147dc46a3c95c3f716d15aab439 /distribute_setup.py | |
| parent | c4ba04373c08da643c5f1b9a0012857acc8e7262 (diff) | |
| download | python-setuptools-git-771be6089a83bb03edf8dc87cdce60d3a4d4e595.tar.gz | |
we need to be able to use these API to detect the real setuptools at bootstrap time
--HG--
branch : distribute
extra : rebase_source : befcf5fc39937e17b8f830b8393fcc6b1bafa17a
Diffstat (limited to 'distribute_setup.py')
| -rw-r--r-- | distribute_setup.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/distribute_setup.py b/distribute_setup.py index cf56fb28..0843b3c4 100644 --- a/distribute_setup.py +++ b/distribute_setup.py @@ -345,7 +345,8 @@ def fake_setuptools(): log.warn('Setuptools or Distribute does not seem to be installed.') return ws = pkg_resources.working_set - setuptools_dist = ws.find(pkg_resources.Requirement.parse('setuptools')) + setuptools_dist = ws.find(pkg_resources.Requirement.parse('setuptools', + replacement=False)) if setuptools_dist is None: log.warn('No setuptools distribution found') return |
