Skip to content

Commit

Permalink
Fix description of requested and location, and add requires
Browse files Browse the repository at this point in the history
  • Loading branch information
deveshks committed Jun 17, 2020
1 parent a250a96 commit 6f68007
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions docs/html/reference/pip_show.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,20 @@ The various fields present in the JSON output and their explanation is as follow
the content of ``RECORD``, if present, as specified in :pep:`376`.

*requested*
A boolean, set to True if ``REQUESTED`` is present,
as specified in :pep:`376`.
A string containing the content of ``REQUESTED``,
if present, as specified in :pep:`376`.

*required_by*
A list of canonicalized distribution names that depend
on the queried distribution.

*requires*
A list of canonicalized distribution names on which
this distribution depends on.

*location*
A string containing the path where the distribution is installed. For legacy installs,
this is the parent directory of the metadata (.dist-info or .egg-info) directory.
For legacy editable installs, this is the directory where the source is located.
A string containing the path where the distribution is installed.
This is the parent directory of the metadata (.dist-info or .egg-info) directory.

.. _`Core metadata specifications`: https://packaging.python.org/specifications/core-metadata/
.. _`JSON-compatible Metadata`: https://www.python.org/dev/peps/pep-0566/#json-compatible-metadata
Expand Down

0 comments on commit 6f68007

Please sign in to comment.