Skip to content

Commit

Permalink
Add note to docs about limitation of packages_distributions. Fixes #402.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Nov 24, 2022
1 parent 18d5ea5 commit b74765d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/using.rst
Expand Up @@ -289,6 +289,10 @@ Python module or :term:`packaging:Import Package`::
>>> packages_distributions()
{'importlib_metadata': ['importlib-metadata'], 'yaml': ['PyYAML'], 'jaraco': ['jaraco.classes', 'jaraco.functools'], ...}

Some editable installs, `do not supply top-level names
<https://github.com/pypa/packaging-problems/issues/609>`_, and thus this
function is not reliable with such installs.

.. _distributions:

Distributions
Expand Down

0 comments on commit b74765d

Please sign in to comment.