HomeDocs
DocsCommunityTestimonialsUsersGitHubTwitterBlogJobsTermsPrivacyCookies
TermsPrivacyCookies
Hey! These docs are for version 2.13, which is no longer officially supported. Click here for the latest version, 2.18!

python-repos

External Python code repositories, such as PyPI.

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

Backend: pants.core
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