summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorBob Halley <halley@play-bow.org>2016-09-20 05:45:34 -0700
committerBob Halley <halley@play-bow.org>2016-09-20 05:45:34 -0700
commit34e2240a4b3a800331fd77c724bdca67d095a2bc (patch)
tree4d031a0cc63ddbba689e0b8c4dd630b7e053c570 /setup.py
parentd0d43f95770eac75cfd8c5ba2b7ca7df7d14a3f0 (diff)
downloaddnspython-34e2240a4b3a800331fd77c724bdca67d095a2bc.tar.gz
redirect to dnspython
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py56
1 files changed, 16 insertions, 40 deletions
diff --git a/setup.py b/setup.py
index 23c2126..e214009 100755
--- a/setup.py
+++ b/setup.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
#
-# Copyright (C) 2003-2007, 2009-2011 Nominum, Inc.
+# Copyright (C) 2016 Nominum, Inc.
#
# Permission to use, copy, modify, and distribute this software and its
# documentation for any purpose with or without fee is hereby granted,
@@ -15,45 +15,21 @@
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
# OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+from setuptools import setup
import sys
-from distutils.core import setup
-version = '1.12.0'
+version = '1.14.0'
+print("="*78+"""
+\033[0;31mdnspython3 is now superseded by the regular dnspython kit, which
+now supports Python 2 and Python 3. Installing dnspython as a dependency.\033[0;0m
+"""+"="*78, file=sys.stdout)
-kwargs = {
- 'name' : 'dnspython3',
- 'version' : version,
- 'description' : 'DNS toolkit',
- 'long_description' : \
- """dnspython3 is a DNS toolkit for Python 3. It supports almost all
-record types. It can be used for queries, zone transfers, and dynamic
-updates. It supports TSIG authenticated messages and EDNS0.
-
-dnspython provides both high and low level access to DNS. The high
-level classes perform queries for data of a given name, type, and
-class, and return an answer set. The low level classes allow
-direct manipulation of DNS zones, messages, names, and records.""",
- 'author' : 'Bob Halley',
- 'author_email' : 'halley@dnspython.org',
- 'license' : 'BSD-like',
- 'url' : 'http://www.dnspython.org',
- 'packages' : ['dns', 'dns.rdtypes', 'dns.rdtypes.IN', 'dns.rdtypes.ANY'],
- 'download_url' : \
- 'http://www.dnspython.org/kits3/%s/dnspython3-%s.tar.gz' % (version,
- version),
- 'classifiers' : [
- "Development Status :: 5 - Production/Stable",
- "Intended Audience :: Developers",
- "Intended Audience :: System Administrators",
- "License :: Freeware",
- "Operating System :: Microsoft :: Windows :: Windows 95/98/2000",
- "Operating System :: POSIX",
- "Programming Language :: Python",
- "Topic :: Internet :: Name Service (DNS)",
- "Topic :: Software Development :: Libraries :: Python Modules",
- ],
- 'requires' : [],
- 'provides' : ['dns'],
- }
-
-setup(**kwargs)
+setup(name='dnspython3',
+ version=version,
+ description='DNS toolkit',
+ url='http://www.dnspython.org',
+ license='BSD-like',
+ author='Bob Halley',
+ author_email='halley@dnspython.org',
+ install_requires=['dnspython=='+version],
+ )