@@ -120,9 +120,10 @@ a list of packages to :func:`setup`'s ``packages`` argument instead of using
120120Using package metadata
121121======================
122122
123- `Setuptools `_ provides `special support `_ for plugins. By
124- providing the ``entry_points `` argument to :func: `setup ` in :file: `setup.py `
125- plugins can register themselves for discovery.
123+ `Setuptools `_ provides :setuptools:doc: `special support
124+ <userguide/entry_point>` for plugins. By providing the ``entry_points ``
125+ argument to :func: `setup ` in :file: `setup.py ` plugins can register themselves
126+ for discovery.
126127
127128For example if you have a package named ``myapp-plugin-a `` and it includes
128129in its :file: `setup.py `:
@@ -164,16 +165,12 @@ Now the module of your choice can be imported by executing
164165
165166.. note :: The ``entry_point`` specification in :file:`setup.py` is fairly
166167 flexible and has a lot of options. It's recommended to read over the entire
167- section on `entry points `_ .
168+ section on :setuptools:doc: `entry points < userguide/entry_point >` .
168169
169- .. note :: Since this specification is part of the `standard library`_, most
170- packaging tools other than setuptools provide support for defining entry
171- points.
170+ .. note :: Since this specification is part of the :python:doc: `standard library
171+ <library/importlib.metadata>`, most packaging tools other than setuptools
172+ provide support for defining entry points.
172173
173174.. _Setuptools : https://setuptools.readthedocs.io
174- .. _special support :
175- .. _entry points :
176- https://setuptools.readthedocs.io/en/stable/userguide/entry_point.html
177- .. _standard library : https://docs.python.org/3/library/importlib.metadata.html#entry-points
178175.. _backport : https://importlib-metadata.readthedocs.io/en/latest/
179176
0 commit comments