Commits

Reinout van Rees  committed b96e6a4

marked the two spots where a setuptools < 0.7 check needs to happen

  • Participants
  • Parent commits 434a312
  • Branches 0.6-maintenance

Comments (0)

Files changed (1)

File pkg_resources.py

         while requirements:
             req = requirements.pop(0)   # process dependencies breadth-first
             if req.project_name == 'setuptools':
+                # TODO: only return distribute if setuptools < 0.7
                 req = Requirement.parse('distribute')
 
             if req in processed:
                 # and if distribute is installed, we want to give
                 # distribute instead
                 if founded_req.project_name == 'setuptools':
+                    # TODO: only return distribute if setuptools < 0.7
                     distribute = list(parse_requirements('distribute'))
                     if len(distribute) == 1:
                         return distribute[0]