diff options
author | Hugo van Kemenade <hugovk@users.noreply.github.com> | 2021-09-07 10:34:27 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-07 10:34:27 (GMT) |
commit | eb254b43d2916ef8c0e9ca815fe047411d848aae (patch) | |
tree | 0b6701104ee3a7371daba5081b4d5c282c3bfbd6 /Doc | |
parent | 533e725821b15e2df2cd4479a34597c1d8faf616 (diff) | |
download | cpython-eb254b43d2916ef8c0e9ca815fe047411d848aae.zip cpython-eb254b43d2916ef8c0e9ca815fe047411d848aae.tar.gz cpython-eb254b43d2916ef8c0e9ca815fe047411d848aae.tar.bz2 |
bpo-45124: Remove the bdist_msi command (GH-28195)
The bdist_msi command, deprecated in Python 3.9, is now removed.
Use bdist_wheel (wheel packages) instead.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/distutils/apiref.rst | 16 | ||||
-rw-r--r-- | Doc/distutils/builtdist.rst | 5 | ||||
-rw-r--r-- | Doc/library/msilib.rst | 11 | ||||
-rw-r--r-- | Doc/whatsnew/3.11.rst | 3 |
4 files changed, 7 insertions, 28 deletions
diff --git a/Doc/distutils/apiref.rst b/Doc/distutils/apiref.rst index e4437f4..b65492f 100644 --- a/Doc/distutils/apiref.rst +++ b/Doc/distutils/apiref.rst @@ -1852,22 +1852,6 @@ Subclasses of :class:`Command` must define the following methods. .. % todo -:mod:`distutils.command.bdist_msi` --- Build a Microsoft Installer binary package -================================================================================= - -.. module:: distutils.command.bdist_msi - :synopsis: Build a binary distribution as a Windows MSI file - -.. class:: bdist_msi - -.. deprecated:: 3.9 - Use bdist_wheel (wheel packages) instead. - - Builds a `Windows Installer`_ (.msi) binary package. - - .. _Windows Installer: https://msdn.microsoft.com/en-us/library/cc185688(VS.85).aspx - - :mod:`distutils.command.bdist_rpm` --- Build a binary distribution as a Redhat RPM and SRPM =========================================================================================== diff --git a/Doc/distutils/builtdist.rst b/Doc/distutils/builtdist.rst index c4409ac..c1d9ea5 100644 --- a/Doc/distutils/builtdist.rst +++ b/Doc/distutils/builtdist.rst @@ -138,11 +138,6 @@ generated by each, are: +--------------------------+-------------------------------------+ | :command:`bdist_rpm` | rpm, srpm | +--------------------------+-------------------------------------+ -| :command:`bdist_msi` | msi | -+--------------------------+-------------------------------------+ - -.. note:: - bdist_msi is deprecated since Python 3.9. The following sections give details on the individual :command:`bdist_\*` commands. diff --git a/Doc/library/msilib.rst b/Doc/library/msilib.rst index 21a2a20..2263885 100644 --- a/Doc/library/msilib.rst +++ b/Doc/library/msilib.rst @@ -20,10 +20,9 @@ exposes an API to create CAB files. Support for reading ``.cab`` files is currently not implemented; read support for the ``.msi`` database is possible. This package aims to provide complete access to all tables in an ``.msi`` file, -therefore, it is a fairly low-level API. Two primary applications of this -package are the :mod:`distutils` command ``bdist_msi``, and the creation of -Python installer package itself (although that currently uses a different -version of ``msilib``). +therefore, it is a fairly low-level API. One primary application of this +package is the creation of Python installer package itself (although that currently +uses a different version of ``msilib``). The package contents can be roughly split into four parts: low-level CAB routines, low-level MSI routines, higher-level MSI routines, and standard table @@ -439,9 +438,7 @@ GUI classes ----------- :mod:`msilib` provides several classes that wrap the GUI tables in an MSI -database. However, no standard user interface is provided; use -:mod:`~distutils.command.bdist_msi` to create MSI files with a user-interface -for installing Python packages. +database. However, no standard user interface is provided. .. class:: Control(dlg, name) diff --git a/Doc/whatsnew/3.11.rst b/Doc/whatsnew/3.11.rst index 896a292..60ef953 100644 --- a/Doc/whatsnew/3.11.rst +++ b/Doc/whatsnew/3.11.rst @@ -250,6 +250,9 @@ Removed (Contributed by Victor Stinner in :issue:`45085`.) +* The distutils ``bdist_msi`` command, deprecated in Python 3.9, is now removed. + Use ``bdist_wheel`` (wheel packages) instead. + (Contributed by Hugo van Kemenade in :issue:`45124`.) Optimizations ============= |