python_requirements
Generate a python_requirement
for each entry in a requirements.txt-style file from the source
field.
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.
Pants will not follow -r reqs.txt
lines. Instead, add a dedicated python_requirements
target generator for that additional requirements file.
Backend: pants.backend.python