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:
commit
57c19d3497
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue