[Python-checkins] cpython (merge 3.4 -> default): Issue #23682: Delete Python 2.2 mention from distutils documentation.
berker.peksag
python-checkins at python.org
Tue Mar 17 05:56:04 CET 2015
https://hg.python.org/cpython/rev/7757e98a9f3b
changeset: 95014:7757e98a9f3b
parent: 95012:87c102d0df39
parent: 95013:910a7a540a31
user: Berker Peksag <berker.peksag at gmail.com>
date: Tue Mar 17 06:56:11 2015 +0200
summary:
Issue #23682: Delete Python 2.2 mention from distutils documentation.
Patch by Thomas Kluyver.
files:
Doc/distutils/setupscript.rst | 14 --------------
1 files changed, 0 insertions(+), 14 deletions(-)
diff --git a/Doc/distutils/setupscript.rst b/Doc/distutils/setupscript.rst
--- a/Doc/distutils/setupscript.rst
+++ b/Doc/distutils/setupscript.rst
@@ -671,20 +671,6 @@
],
)
-If you wish to include classifiers in your :file:`setup.py` file and also wish
-to remain backwards-compatible with Python releases prior to 2.2.3, then you can
-include the following code fragment in your :file:`setup.py` before the
-:func:`setup` call. ::
-
- # patch distutils if it can't cope with the "classifiers" or
- # "download_url" keywords
- from sys import version
- if version < '2.2.3':
- from distutils.dist import DistributionMetadata
- DistributionMetadata.classifiers = None
- DistributionMetadata.download_url = None
-
-
.. _debug-setup-script:
Debugging the setup script
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list