1. Gael Pasgrimaud
  2. gp.recipe.pip

Commits

Gael Pasgrimaud  committed b68db19

imported patch find-links

  • Participants
  • Parent commits 9742622
  • Branches default

Comments (0)

Files changed (1)

File gp/recipe/pip/__init__.py

View file
 
         if 'find-links' in self.buildout['buildout']:
             for l in to_list(self.buildout['buildout']['find-links']):
-                args.extend(['-f', l])
+                if os.path.isdir(l):
+                    args.extend(['-f', "file:///" + l])
+                else:
+                    args.extend(['-f', l])
 
         indexes = to_list(self.options.get('indexes', ''))
         for o in indexes: