Commit 0bb32764 authored by tarek's avatar tarek

making sure a setuptools requirement is turned into a distribute one

--HG--
branch : distribute
extra : rebase_source : 444d838a772b878838d54c9dfc78afee4dbe83f2
parent 2bb038c8
......@@ -504,6 +504,12 @@ class WorkingSet(object):
while requirements:
req = requirements.pop(0) # process dependencies breadth-first
project_name = req.project_name.strip()
project_name = project_name.replace(' ', '')
if project_name in ('setuptools', 'setuptools>=0.6c9',
'setuptools==0.6c9'):
req = Requirement.parse('distribute')
if req in processed:
# Ignore cyclic or redundant dependencies
continue
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment