diff options
| author | Gabriel <gabriel@potter.fr> | 2020-01-02 01:02:21 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-02 01:02:21 +0100 |
| commit | 98b7bab4d235e982526794bcec90827ac300f5bc (patch) | |
| tree | 1bc0d8d3f5d47a76dbde1c878e52db0e34d6c20c | |
| parent | 7e97def47723303fafabe48b22168bbc11bb4821 (diff) | |
| download | external_python_setuptools-98b7bab4d235e982526794bcec90827ac300f5bc.tar.gz external_python_setuptools-98b7bab4d235e982526794bcec90827ac300f5bc.tar.bz2 external_python_setuptools-98b7bab4d235e982526794bcec90827ac300f5bc.zip | |
Update setuptools.txt
| -rw-r--r-- | docs/setuptools.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/setuptools.txt b/docs/setuptools.txt index 03b57cf3..7741ec07 100644 --- a/docs/setuptools.txt +++ b/docs/setuptools.txt @@ -1000,11 +1000,11 @@ and Python Eggs. It is strongly recommended that, if you are using data files, you should use the :ref:`ResourceManager API` of ``pkg_resources`` to access them. The ``pkg_resources`` module is distributed as part of setuptools, so if you're using setuptools to distribute your package, there is no reason not to -use its resource management API. See also `Accessing Package Resources`_ for +use its resource management API. See also `Importlib Resources`_ for a quick example of converting code that uses ``__file__`` to use ``pkg_resources`` instead. -.. _Accessing Package Resources: http://peak.telecommunity.com/DevCenter/PythonEggs#accessing-package-resources +.. _Importlib Resources: https://docs.python.org/3/library/importlib.html#module-importlib.resources Non-Package Data Files |
