Document that index URLs should conform to PEP 503

This commit is contained in:
Paul Moore 2016-05-20 21:19:30 +01:00
parent 4e2c1fa77c
commit 8d7b7d35bc
1 changed files with 7 additions and 2 deletions

View File

@ -216,7 +216,10 @@ index_url = partial(
dest='index_url',
metavar='URL',
default=PyPI.simple_url,
help='Base URL of Python Package Index (default %default).')
help="Base URL of Python Package Index (default %default). "
"This should point to a repository compliant with PEP 503 "
"(the simple repository API) or a local directory laid out "
"in the same format.")
def extra_index_url():
@ -226,7 +229,9 @@ def extra_index_url():
metavar='URL',
action='append',
default=[],
help='Extra URLs of package indexes to use in addition to --index-url.'
help="Extra URLs of package indexes to use in addition to "
"--index-url. Should follow the same rules as "
"--index-url."
)