diff setup.py @ 5021:70dde3937c9b pip

setup.py: Remove legacy support code for Python<2.3
author anatoly techtonik <techtonik@gmail.com>
date Mon, 11 Jan 2016 01:20:29 +0300
parents a4d7e495f2f6
children 8853f422fb62
line wrap: on
line diff
--- a/setup.py	Sat Jan 09 20:44:56 2016 +0300
+++ b/setup.py	Mon Jan 11 01:20:29 2016 +0300
@@ -37,11 +37,6 @@
 import sys, os
 from glob import glob
 
-# patch distutils if it can't cope with the "classifiers" keyword
-from distutils.dist import DistributionMetadata
-if not hasattr(DistributionMetadata, 'classifiers'):
-    DistributionMetadata.classifiers = None
-    DistributionMetadata.download_url = None
 
 def include(d, e):
     """Generate a pair of (directory, file-list) for installation.

Roundup Issue Tracker: http://roundup-tracker.org/