python-repos

External Python code repositories, such as PyPI.

These options may be used to point to custom cheeseshops when resolving requirements.

Config section: [python-repos]

Basic options

None

Advanced options

repos

--python-repos-repos="['<str>', '<str>', ...]"
PANTS_PYTHON_REPOS_REPOS
default: []

URLs of code repositories to look for requirements. In Pip and Pex, this option corresponds to the `--find-links` option.


indexes

--python-repos-indexes="['<str>', '<str>', ...]"
PANTS_PYTHON_REPOS_INDEXES
default:
[
  "https://pypi.org/simple/"
]

URLs of code repository indexes to look for requirements. If set to an empty list, then Pex will use no indices (meaning it will not use PyPI). The values should be compliant with PEP 503.


Deprecated options

None


Did this page help you?