All rdata comparsion now uses the digestable form.
[third_party/dnspython] / setup.py
1 #!/usr/bin/env python
2 #
3 # Copyright (C) 2003-2007, 2009-2011 Nominum, Inc.
4 #
5 # Permission to use, copy, modify, and distribute this software and its
6 # documentation for any purpose with or without fee is hereby granted,
7 # provided that the above copyright notice and this permission notice
8 # appear in all copies.
9 #
10 # THE SOFTWARE IS PROVIDED "AS IS" AND NOMINUM DISCLAIMS ALL WARRANTIES
11 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL NOMINUM BE LIABLE FOR
13 # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
16 # OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17
18 import sys
19 from distutils.core import setup
20
21 version = '1.12.0'
22
23 kwargs = {
24     'name' : 'dnspython',
25     'version' : version,
26     'description' : 'DNS toolkit',
27     'long_description' : \
28     """dnspython is a DNS toolkit for Python. It supports almost all
29 record types. It can be used for queries, zone transfers, and dynamic
30 updates.  It supports TSIG authenticated messages and EDNS0.
31
32 dnspython provides both high and low level access to DNS. The high
33 level classes perform queries for data of a given name, type, and
34 class, and return an answer set.  The low level classes allow
35 direct manipulation of DNS zones, messages, names, and records.""",
36     'author' : 'Bob Halley',
37     'author_email' : 'halley@dnspython.org',
38     'license' : 'BSD-like',
39     'url' : 'http://www.dnspython.org',
40     'packages' : ['dns', 'dns.rdtypes', 'dns.rdtypes.IN', 'dns.rdtypes.ANY'],
41     'download_url' : \
42     'http://www.dnspython.org/kits/%s/dnspython-%s.tar.gz' % (version, version),
43     'classifiers' : [
44         "Development Status :: 5 - Production/Stable",
45         "Intended Audience :: Developers",
46         "Intended Audience :: System Administrators",
47         "License :: Freeware",
48         "Operating System :: Microsoft :: Windows :: Windows 95/98/2000",
49         "Operating System :: POSIX",
50         "Programming Language :: Python",
51         "Topic :: Internet :: Name Service (DNS)",
52         "Topic :: Software Development :: Libraries :: Python Modules",
53         ],
54     }
55
56 if sys.hexversion >= 0x02050000:
57     kwargs['requires'] = []
58     kwargs['provides'] = ['dns']
59
60 setup(**kwargs)