@@ -18,11 +18,9 @@ the metadata of an installed `Distribution Package <https://packaging.python.org
1818such as its entry points
1919or its top-level names (`Import Package <https://packaging.python.org/en/latest/glossary/#term-Import-Package >`_\s , modules, if any).
2020Built in part on Python's import system, this library
21- intends to replace similar functionality in the `entry point
22- API `_ and `metadata API `_ of ``pkg_resources ``. Along with
23- :mod: `importlib.resources `,
24- this package can eliminate the need to use the older and less efficient
25- ``pkg_resources `` package.
21+ provides the entry point and metadata APIs that were previously
22+ exposed by the now-removed ``pkg_resources `` package. Along with
23+ :mod: `importlib.resources `, it supersedes ``pkg_resources ``.
2624
2725``importlib.metadata `` operates on third-party *distribution packages *
2826installed into Python's ``site-packages `` directory via tools such as
@@ -717,7 +715,3 @@ packages served by the ``DatabaseImporter``, assuming that the
717715The ``DatabaseDistribution `` may also provide other metadata files, like
718716``RECORD `` (required for :attr: `!Distribution.files `) or override the
719717implementation of :attr: `!Distribution.files `. See the source for more inspiration.
720-
721-
722- .. _`entry point API` : https://setuptools.readthedocs.io/en/latest/pkg_resources.html#entry-points
723- .. _`metadata API` : https://setuptools.readthedocs.io/en/latest/pkg_resources.html#metadata-api
0 commit comments