File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- from distutils .core import setup
1+ try :
2+ from setuptools import setup
3+ except ImportError :
4+ from distutils .core import setup
5+ import sys
6+ # patch distutils if it can't cope with the "classifiers" keyword
7+ if sys .version < '2.2.3' :
8+ from distutils .dist import DistributionMetadata
9+ DistributionMetadata .classifiers = None
10+ DistributionMetadata .download_url = None
211
312import warnings
413warnings .filterwarnings ('ignore' , 'Unknown distribution option' )
514
6- import sys
7- # patch distutils if it can't cope with the "classifiers" keyword
8- if sys .version < '2.2.3' :
9- from distutils .dist import DistributionMetadata
10- DistributionMetadata .classifiers = None
11- DistributionMetadata .download_url = None
12-
1315__version__ = '0.9.2'
1416__revision__ = "$Rev$"
1517__date__ = "$Date$"
4143 license = 'Open Software License' ,
4244 packages = ['DBUtils' , 'DBUtils.Examples' , 'DBUtils.Testing' ],
4345 package_data = {'DBUtils' : ['Docs/*' ]},
44- zip_safe = 1
46+ zip_safe = 0
4547)
You can’t perform that action at this time.
0 commit comments