1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00

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

View file

@ -216,7 +216,10 @@ index_url = partial(
dest='index_url', dest='index_url',
metavar='URL', metavar='URL',
default=PyPI.simple_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(): def extra_index_url():
@ -226,7 +229,9 @@ def extra_index_url():
metavar='URL', metavar='URL',
action='append', action='append',
default=[], 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."
) )