Skip to content

Commit c60fcce

Browse files
committed
setup.py: Remove legacy support code for Python<2.3
1 parent f3b334b commit c60fcce

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

setup.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,6 @@
3737
import sys, os
3838
from glob import glob
3939

40-
# patch distutils if it can't cope with the "classifiers" keyword
41-
from distutils.dist import DistributionMetadata
42-
if not hasattr(DistributionMetadata, 'classifiers'):
43-
DistributionMetadata.classifiers = None
44-
DistributionMetadata.download_url = None
4540

4641
def include(d, e):
4742
"""Generate a pair of (directory, file-list) for installation.

0 commit comments

Comments
 (0)