Commit Graph
2 Commits
Author SHA1 Message Date
Jon Parise 51446907b6 Support comments after environment markers
For example:

    package; python_version < '3'  # Comment

Previously, the environment marker syntax group matched to the end of
the line and didn't stop at the comment character (`#`).
2020-01-19 09:20:14 -08:00
Jon Parise 837b163e58 Recognize '_' and '.' characters in package names
Examples:

 - gevent_subprocess (https://pypi.python.org/pypi/gevent_subprocess)
 - zope.interface (https://pypi.python.org/pypi/zope.interface)
2016-06-14 08:11:14 -07:00