diff options
-rw-r--r-- | docs/pkg_resources.rst | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/docs/pkg_resources.rst b/docs/pkg_resources.rst index 21ff6dc1..40e5e6f8 100644 --- a/docs/pkg_resources.rst +++ b/docs/pkg_resources.rst @@ -10,12 +10,13 @@ eggs, support for merging packages that have separately-distributed modules or subpackages, and APIs for managing Python's current "working set" of active packages. -Use of ``pkg_resources`` is discouraged in favor of -`importlib.resources <https://docs.python.org/3/library/importlib.html#module-importlib.resources>`_, -`importlib.metadata <https://docs.python.org/3/library/importlib.metadata.html>`_, -and their backports (:pypi:`importlib_resources`, -:pypi:`importlib_metadata`). -Please consider using those libraries instead of pkg_resources. +.. attention:: + Use of ``pkg_resources`` is discouraged in favor of + `importlib.resources <https://docs.python.org/3/library/importlib.html#module-importlib.resources>`_, + `importlib.metadata <https://docs.python.org/3/library/importlib.metadata.html>`_, + and their backports (:pypi:`importlib_resources`, + :pypi:`importlib_metadata`). + Please consider using those libraries instead of pkg_resources. -------- |