madpah / requirements-parser

A Pip requirements file parser.
https://requirements-parser.readthedocs.io
Apache License 2.0
125 stars 41 forks source link

Improve handling of VCS URIs #10

Closed davidfischer closed 11 years ago

davidfischer commented 11 years ago

Currently, requirements only looks for VCS URIs (eg. git://git.myproj.org/proj.git@v1.0#egg=proj) if the requirement is "editable". However, this is now officially optional according to the requirement file spec.

These two lines should parse exactly the same:

>>> list(requirements.parse('git://git.myproj.org/proj.git#egg=proj'))
>>> list(requirements.parse('git+git://git.myproj.org/proj.git#egg=proj'))