Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e010d8f

Browse files
committed
Issue #23682: Delete Python 2.2 mention from distutils documentation.
Patch by Thomas Kluyver.
2 parents 85586eb + 6a98002 commit e010d8f

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

Doc/distutils/setupscript.rst

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -671,20 +671,6 @@ information is sometimes used to indicate sub-releases. These are
671671
],
672672
)
673673

674-
If you wish to include classifiers in your :file:`setup.py` file and also wish
675-
to remain backwards-compatible with Python releases prior to 2.2.3, then you can
676-
include the following code fragment in your :file:`setup.py` before the
677-
:func:`setup` call. ::
678-
679-
# patch distutils if it can't cope with the "classifiers" or
680-
# "download_url" keywords
681-
from sys import version
682-
if version < '2.2.3':
683-
from distutils.dist import DistributionMetadata
684-
DistributionMetadata.classifiers = None
685-
DistributionMetadata.download_url = None
686-
687-
688674
.. _debug-setup-script:
689675

690676
Debugging the setup script

0 commit comments

Comments
 (0)