PEP 665: specify that `url` can support any scheme the installer chooses

This commit is contained in:
Brett Cannon 2021-11-09 11:11:41 -08:00
parent ac82a83486
commit 1bb31bb390
1 changed files with 4 additions and 3 deletions

View File

@ -390,12 +390,13 @@ All of this is to help minimize diff changes between tool executions.
A string representing a URL where to get the file.
An installer MAY choose to not use a URL to retrieve a file
The installer MAY support any schemes it wants for URLs
(e.g. ``file:`` as well as ``https:``).
An installer MAY choose to not use the URL to retrieve a file
if a file matching the specified hash can be found using some
alternative means (e.g. on the file system in a cache directory).
The URL MAY specify a local file by using ``file:`` URLs.
``package._name_._version_.filename``
-------------------------------------