@@ -172,15 +172,15 @@ For these modules or types, ``setuptools`` is the best substitute:
172
172
For these modules or types, use the standards-defined Python Packaging
173
173
Authority packages specified:
174
174
175
- * ``distutils.version `` - use ``packaging ``
175
+ * ``distutils.version `` — use the ``packaging `` package
176
176
177
177
For these modules or functions, use the standard library module shown:
178
178
179
- * ``distutils.fancy_getopt `` - use ``argparse ``
180
- * ``distutils.spawn.find_executable `` - use ``shutil.which ``
181
- * ``distutils.spawn.spawn `` - use ``subprocess.run ``
182
- * ``distutils.sysconfig `` - use ``sysconfig ``
183
- * ``distutils.util.get_platform `` - use ``platform ``
179
+ * ``distutils.fancy_getopt `` — use the ``argparse `` module
180
+ * ``distutils.spawn.find_executable `` — use the ``shutil.which `` function
181
+ * ``distutils.spawn.spawn `` — use the ``subprocess.run `` function
182
+ * ``distutils.sysconfig `` — use the ``sysconfig `` module
183
+ * ``distutils.util.get_platform `` — use the ``platform `` module
184
184
185
185
For these functions, and any others not mentioned here, you will need
186
186
to reimplement the functionality yourself. The legacy documentation
@@ -251,7 +251,7 @@ References
251
251
(https://www.python.org/dev/peps/pep-0517/)
252
252
253
253
.. [5 ] Porting from Distutils
254
- (https://setuptools.readthedocs.io/en/latest/distutils-legacy.html)
254
+ (https://setuptools.readthedocs.io/en/latest/deprecated/ distutils-legacy.html)
255
255
256
256
.. [6 ] Packaging (numpy.distutils)
257
257
(https://numpy.org/doc/stable/reference/distutils.html)
0 commit comments