diff options
| author | Bob Halley <halley@nominum.com> | 2011-04-28 16:21:29 +0100 |
|---|---|---|
| committer | Bob Halley <halley@nominum.com> | 2011-04-28 16:21:29 +0100 |
| commit | 95b36ca74ed1c1ec5c473302333b67d50643f48c (patch) | |
| tree | 8fea8ec3fd66ccd424b79f94e32a362da2413fa6 /setup.py | |
| parent | 8cb9e80abcf6818872096275c1ffb0dbe2fea7f8 (diff) | |
| download | dnspython-95b36ca74ed1c1ec5c473302333b67d50643f48c.tar.gz | |
merge changes up to py3merge2 tag; update tests to assert style
Diffstat (limited to 'setup.py')
| -rwxr-xr-x | setup.py | 20 |
1 files changed, 8 insertions, 12 deletions
@@ -18,7 +18,7 @@ import sys from distutils.core import setup -version = '1.9.3' +version = '1.9.5' kwargs = { 'name' : 'dnspython', @@ -38,13 +38,10 @@ direct manipulation of DNS zones, messages, names, and records.""", 'license' : 'BSD-like', 'url' : 'http://www.dnspython.org', 'packages' : ['dns', 'dns.rdtypes', 'dns.rdtypes.IN', 'dns.rdtypes.ANY'], - } - -if sys.hexversion >= 0x02020300: - kwargs['download_url'] = \ + 'download_url' : \ 'http://www.dnspython.org/kits/%s/dnspython-%s.tar.gz' % (version, - version) - kwargs['classifiers'] = [ + version), + 'classifiers' : [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Intended Audience :: System Administrators", @@ -54,10 +51,9 @@ if sys.hexversion >= 0x02020300: "Programming Language :: Python", "Topic :: Internet :: Name Service (DNS)", "Topic :: Software Development :: Libraries :: Python Modules", - ] - -if sys.hexversion >= 0x02050000: - kwargs['requires'] = [] - kwargs['provides'] = ['dns'] + ], + 'requires' : [], + 'provides' : ['dns'], + } setup(**kwargs) |
