diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2015-03-17 04:56:11 (GMT) |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2015-03-17 04:56:11 (GMT) |
commit | e010d8f031f0b2e29dd95db61769c524d59a74d2 (patch) | |
tree | 9ff0f1d900186da2d3d9c1cb39fd05ede8ccb280 /Doc | |
parent | 85586ebc39a6ac9fc1b648777566a54439b84852 (diff) | |
parent | 6a98002d473557b1d8b2481e506adc3a148d1d51 (diff) | |
download | cpython-e010d8f031f0b2e29dd95db61769c524d59a74d2.zip cpython-e010d8f031f0b2e29dd95db61769c524d59a74d2.tar.gz cpython-e010d8f031f0b2e29dd95db61769c524d59a74d2.tar.bz2 |
Issue #23682: Delete Python 2.2 mention from distutils documentation.
Patch by Thomas Kluyver.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/distutils/setupscript.rst | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/Doc/distutils/setupscript.rst b/Doc/distutils/setupscript.rst index 3edcf87..914a34f 100644 --- a/Doc/distutils/setupscript.rst +++ b/Doc/distutils/setupscript.rst @@ -671,20 +671,6 @@ information is sometimes used to indicate sub-releases. These are ], ) -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 |