summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorOleg Iarygin <oleg@arhadthedev.net>2022-07-25 10:20:09 (GMT)
committerGitHub <noreply@github.com>2022-07-25 10:20:09 (GMT)
commitd58be48369186590d4dfa204bf6b4c432b665281 (patch)
treeea3678de95f324df8534621bac3b822876900342 /Doc
parentdf7c8b95372169fb9d23140d35f91970ba32189d (diff)
downloadcpython-d58be48369186590d4dfa204bf6b4c432b665281.zip
cpython-d58be48369186590d4dfa204bf6b4c432b665281.tar.gz
cpython-d58be48369186590d4dfa204bf6b4c432b665281.tar.bz2
gh-85454: Remove links from historical mentions of distutils (GH-95192)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/distributing/index.rst12
-rw-r--r--Doc/whatsnew/2.0.rst2
-rw-r--r--Doc/whatsnew/3.2.rst2
-rw-r--r--Doc/whatsnew/3.5.rst2
-rw-r--r--Doc/whatsnew/3.6.rst6
-rw-r--r--Doc/whatsnew/3.7.rst4
6 files changed, 14 insertions, 14 deletions
diff --git a/Doc/distributing/index.rst b/Doc/distributing/index.rst
index 136cf4e..2ae2726 100644
--- a/Doc/distributing/index.rst
+++ b/Doc/distributing/index.rst
@@ -41,21 +41,21 @@ Key terms
file format standards. They maintain a variety of tools, documentation
and issue trackers on both `GitHub <https://github.com/pypa>`__ and
`Bitbucket <https://bitbucket.org/pypa/>`__.
-* :mod:`distutils` is the original build and distribution system first added
- to the Python standard library in 1998. While direct use of :mod:`distutils`
+* ``distutils`` is the original build and distribution system first added
+ to the Python standard library in 1998. While direct use of ``distutils``
is being phased out, it still laid the foundation for the current packaging
and distribution infrastructure, and it not only remains part of the
standard library, but its name lives on in other ways (such as the name
of the mailing list used to coordinate Python packaging standards
development).
-* `setuptools`_ is a (largely) drop-in replacement for :mod:`distutils` first
+* `setuptools`_ is a (largely) drop-in replacement for ``distutils`` first
published in 2004. Its most notable addition over the unmodified
- :mod:`distutils` tools was the ability to declare dependencies on other
+ ``distutils`` tools was the ability to declare dependencies on other
packages. It is currently recommended as a more regularly updated
- alternative to :mod:`distutils` that offers consistent support for more
+ alternative to ``distutils`` that offers consistent support for more
recent packaging standards across a wide range of Python versions.
* `wheel`_ (in this context) is a project that adds the ``bdist_wheel``
- command to :mod:`distutils`/`setuptools`_. This produces a cross platform
+ command to ``distutils``/`setuptools`_. This produces a cross platform
binary packaging format (called "wheels" or "wheel files" and defined in
:pep:`427`) that allows Python libraries, even those including binary
extensions, to be installed on a system without needing to be built
diff --git a/Doc/whatsnew/2.0.rst b/Doc/whatsnew/2.0.rst
index 24fc39b..9b28dbc 100644
--- a/Doc/whatsnew/2.0.rst
+++ b/Doc/whatsnew/2.0.rst
@@ -820,7 +820,7 @@ packages, which made administering a Python installation something of a chore.
The SIG for distribution utilities, shepherded by Greg Ward, has created the
Distutils, a system to make package installation much easier. They form the
-:mod:`distutils` package, a new part of Python's standard library. In the best
+``distutils`` package, a new part of Python's standard library. In the best
case, installing a Python module from source will require the same steps: first
you simply mean unpack the tarball or zip archive, and the run "``python
setup.py install``". The platform will be automatically detected, the compiler
diff --git a/Doc/whatsnew/3.2.rst b/Doc/whatsnew/3.2.rst
index 9dd849f..31f2ea8 100644
--- a/Doc/whatsnew/3.2.rst
+++ b/Doc/whatsnew/3.2.rst
@@ -2056,7 +2056,7 @@ information:
such as "3.2".
It also provides access to the paths and variables corresponding to one of
-seven named schemes used by :mod:`distutils`. Those include *posix_prefix*,
+seven named schemes used by ``distutils``. Those include *posix_prefix*,
*posix_home*, *posix_user*, *nt*, *nt_user*, *os2*, *os2_home*:
* :func:`~sysconfig.get_paths` makes a dictionary containing installation paths
diff --git a/Doc/whatsnew/3.5.rst b/Doc/whatsnew/3.5.rst
index 1defee4..537007b 100644
--- a/Doc/whatsnew/3.5.rst
+++ b/Doc/whatsnew/3.5.rst
@@ -1079,7 +1079,7 @@ Both the ``build`` and ``build_ext`` commands now accept a ``-j`` option to
enable parallel building of extension modules.
(Contributed by Antoine Pitrou in :issue:`5309`.)
-The :mod:`distutils` module now supports ``xz`` compression, and can be
+The ``distutils`` module now supports ``xz`` compression, and can be
enabled by passing ``xztar`` as an argument to ``bdist --format``.
(Contributed by Serhiy Storchaka in :issue:`16314`.)
diff --git a/Doc/whatsnew/3.6.rst b/Doc/whatsnew/3.6.rst
index e54475f..a587086 100644
--- a/Doc/whatsnew/3.6.rst
+++ b/Doc/whatsnew/3.6.rst
@@ -1012,7 +1012,7 @@ distutils
---------
The ``default_format`` attribute has been removed from
-:class:`distutils.command.sdist.sdist` and the ``formats``
+``distutils.command.sdist.sdist`` and the ``formats``
attribute defaults to ``['gztar']``. Although not anticipated,
any code relying on the presence of ``default_format`` may
need to be adapted. See :issue:`27819` for more details.
@@ -1986,7 +1986,7 @@ distutils
~~~~~~~~~
The undocumented ``extra_path`` argument to the
-:class:`~distutils.Distribution` constructor is now considered deprecated
+``distutils.Distribution`` constructor is now considered deprecated
and will raise a warning if set. Support for this parameter will be
removed in a future Python release. See :issue:`27919` for details.
@@ -2243,7 +2243,7 @@ Changes in the Python API
accepting additional keyword arguments will need to adjust their calls to
:meth:`type.__new__` (whether direct or via :class:`super`) accordingly.
-* In :class:`distutils.command.sdist.sdist`, the ``default_format``
+* In ``distutils.command.sdist.sdist``, the ``default_format``
attribute has been removed and is no longer honored. Instead, the
gzipped tarfile format is the default on all platforms and no
platform-specific selection is made.
diff --git a/Doc/whatsnew/3.7.rst b/Doc/whatsnew/3.7.rst
index 68901fa..fd99682 100644
--- a/Doc/whatsnew/3.7.rst
+++ b/Doc/whatsnew/3.7.rst
@@ -1906,7 +1906,7 @@ Other CPython Implementation Changes
variables were defined. Previously, the order was undefined.
(Contributed by Raymond Hettinger in :issue:`32690`.)
-* The :mod:`distutils` ``upload`` command no longer tries to change CR
+* The ``distutils`` ``upload`` command no longer tries to change CR
end-of-line characters to CRLF. This fixes a corruption issue with sdists
that ended with a byte equivalent to CR.
(Contributed by Bo Bayles in :issue:`32304`.)
@@ -2181,7 +2181,7 @@ The following features and APIs have been removed from Python 3.7:
:func:`ssl.wrap_socket` or :class:`ssl.SSLContext`.
(Contributed by Christian Heimes in :issue:`32951`.)
-* The unused :mod:`distutils` ``install_misc`` command has been removed.
+* The unused ``distutils`` ``install_misc`` command has been removed.
(Contributed by Eric N. Vander Weele in :issue:`29218`.)