Skip to main content
Version: 2.6 (deprecated)

python-repos


External Python code repositories, such as PyPI.

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

Backend: ``

Config section: [python-repos]

Basic options

None

Advanced options

indexes

--python-repos-indexes="['<str>', '<str>', ...]"
PANTS_PYTHON_REPOS_INDEXES
pants.toml
[python-repos]
indexes = [
'<str>',
'<str>',
...,
]
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.

repos

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

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

Deprecated options

None

None