diff options
author | Anderson Bravalheri <andersonbravalheri@gmail.com> | 2022-08-15 20:11:53 +0100 |
---|---|---|
committer | Anderson Bravalheri <andersonbravalheri@gmail.com> | 2022-08-15 20:11:53 +0100 |
commit | 62c45bc000c27ff701cdeae6acb0c3d389baa909 (patch) | |
tree | 2536e70c5c66d071fe485619748472c5873cf223 /docs | |
parent | e6b911708e900f57c98e3b5b03af6de2953dbc76 (diff) | |
download | python-setuptools-git-62c45bc000c27ff701cdeae6acb0c3d389baa909.tar.gz |
Make pkg_resources warning more visible
Diffstat (limited to 'docs')
-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. -------- |