mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
Update direct URL spec links
This commit is contained in:
parent
e1f353f8c6
commit
afb743c01c
2 changed files with 9 additions and 7 deletions
|
@ -50,10 +50,11 @@ the following properties:
|
|||
```
|
||||
|
||||
- `direct_url`: Information about the direct URL that was used for installation, if any,
|
||||
using the [direct
|
||||
URL](https://packaging.python.org/en/latest/specifications/direct-url/) data
|
||||
structure. In most case, this field corresponds to the `direct_url.json` metadata,
|
||||
except for legacy editable installs, where it is emulated.
|
||||
using the [direct URL data
|
||||
structure](https://packaging.python.org/en/latest/specifications/direct-url-data-structure/).
|
||||
In most case, this field corresponds to the
|
||||
[direct_url.json](https://packaging.python.org/en/latest/specifications/direct-url)
|
||||
metadata, except for legacy editable installs, where it is emulated.
|
||||
|
||||
- `requested`: `true` if the `REQUESTED` metadata is present, `false` otherwise. This
|
||||
field is only present for modern `.dist-info` installations.
|
||||
|
|
|
@ -58,9 +58,10 @@ package with the following properties:
|
|||
specifier.
|
||||
|
||||
- `download_info`: Information about the artifact (to be) downloaded for installation,
|
||||
using the [direct
|
||||
URL](https://packaging.python.org/en/latest/specifications/direct-url/) data
|
||||
structure. When `is_direct` is `true`, this field is the same as the `direct_url.json`
|
||||
using the [direct URL data
|
||||
structure](https://packaging.python.org/en/latest/specifications/direct-url-data-structure/).
|
||||
When `is_direct` is `true`, this field is the same as the
|
||||
[direct_url.json](https://packaging.python.org/en/latest/specifications/direct-url)
|
||||
metadata, otherwise it represents the URL of the artifact obtained from the index or
|
||||
`--find-links`.
|
||||
|
||||
|
|
Loading…
Reference in a new issue