Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PEP 632: Improve formatting and fix link #1990

Merged
merged 1 commit into from
Jun 12, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions pep-0632.rst
Original file line number Diff line number Diff line change
Expand Up @@ -172,15 +172,15 @@ For these modules or types, ``setuptools`` is the best substitute:
For these modules or types, use the standards-defined Python Packaging
Authority packages specified:

* ``distutils.version`` - use ``packaging``
* ``distutils.version`` use the ``packaging`` package

For these modules or functions, use the standard library module shown:

* ``distutils.fancy_getopt`` - use ``argparse``
* ``distutils.spawn.find_executable`` - use ``shutil.which``
* ``distutils.spawn.spawn`` - use ``subprocess.run``
* ``distutils.sysconfig`` - use ``sysconfig``
* ``distutils.util.get_platform`` - use ``platform``
* ``distutils.fancy_getopt`` use the ``argparse`` module
* ``distutils.spawn.find_executable`` use the ``shutil.which`` function
* ``distutils.spawn.spawn`` use the ``subprocess.run`` function
* ``distutils.sysconfig`` use the ``sysconfig`` module
* ``distutils.util.get_platform`` use the ``platform`` module

For these functions, and any others not mentioned here, you will need
to reimplement the functionality yourself. The legacy documentation
Expand Down Expand Up @@ -251,7 +251,7 @@ References
(https://www.python.org/dev/peps/pep-0517/)

.. [5] Porting from Distutils
(https://setuptools.readthedocs.io/en/latest/distutils-legacy.html)
(https://setuptools.readthedocs.io/en/latest/deprecated/distutils-legacy.html)

.. [6] Packaging (numpy.distutils)
(https://numpy.org/doc/stable/reference/distutils.html)
Expand Down