File tree 1 file changed +6
-2
lines changed 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,8 @@ The various fields present in the JSON output and their explanation is as follow
32
32
33
33
*metadata *
34
34
A dictionary with the core metadata fields present in the ``METADATA `` file,
35
- as defined in the `Core metadata specifications `_. The fields are
35
+ as defined in the `Core metadata specifications `_. We use the method detailed in
36
+ `JSON-compatible Metadata `_ to convert core metadata to json. The fields are
36
37
lower cased, with dashes replaced by underscores.
37
38
38
39
*direct_url *
@@ -56,9 +57,12 @@ The various fields present in the JSON output and their explanation is as follow
56
57
on the queried distribution.
57
58
58
59
*location *
59
- A string containing the path where the distribution is installed.
60
+ A string containing the path where the distribution is installed. For legacy installs,
61
+ this is the parent directory of the metadata (.dist-info or .egg-info) directory.
62
+ For legacy editable installs, this is the directory where the source is located.
60
63
61
64
.. _`Core metadata specifications` : https://packaging.python.org/specifications/core-metadata/
65
+ .. _`JSON-compatible Metadata` : https://www.python.org/dev/peps/pep-0566/#json-compatible-metadata
62
66
63
67
Examples
64
68
========
You can’t perform that action at this time.
0 commit comments