Comparing drigz:master...ensonic:master · drigz/rules_python
Commits on Jun 12, 2018
-
whl: Parse requirements from METADATA files
Some wheels only include METADATA files (examples: wheel 0.31.1, tenacity 4.10.0). Previously whl did not parse the requirement sections. Add code to parse these sections. The most complicated part is parsing out the extra == 'something' clauses from the boolean expression. Use the same expression parser used by pkg_resources.evaluate_marker which is already used by this code to find those clauses and produce a version with them removed.
Evan Jones authored and ensonic committed
Jun 12, 2018