1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00

Merge pull request #19 from pfmoore/wheel_in_req

Allow --use-wheel in requirements files
This commit is contained in:
Marcus Smith 2012-10-25 13:23:00 -07:00
commit 57c19d3497

View file

@ -1365,6 +1365,8 @@ def parse_requirements(filename, finder=None, comes_from=None, options=None):
line = line[len('--extra-index-url'):].strip().lstrip('=')
if finder:
finder.index_urls.append(line)
elif line.startswith('--use-wheel'):
finder.use_wheel = True
elif line.startswith('--no-index'):
finder.index_urls = []
else: