python_requirements
Generate a python_requirement
for each entry in a requirements.txt-style file.
This works with pip-style requirements files: https://pip.pypa.io/en/latest/reference/requirements-file-format/. However, pip options like --hash
are (for now) ignored.
Instead of pip-style VCS requirements, use direct references from PEP 440: https://www.python.org/dev/peps/pep-0440/#direct-references.
Backend: pants.backend.python