OLD | NEW |
| (Empty) |
1 import sys | |
2 | |
3 try: | |
4 from twisted.python import dist | |
5 except ImportError: | |
6 raise SystemExit("twisted.python.dist module not found. Make sure you " | |
7 "have installed the Twisted core package before " | |
8 "attempting to install any other Twisted projects.") | |
9 | |
10 if __name__ == '__main__': | |
11 if sys.version_info[:2] >= (2, 4): | |
12 extraMeta = dict( | |
13 classifiers=[ | |
14 "Development Status :: 4 - Beta", | |
15 "Environment :: No Input/Output (Daemon)", | |
16 "Intended Audience :: Developers", | |
17 "License :: OSI Approved :: MIT License", | |
18 "Programming Language :: Python", | |
19 "Topic :: Internet :: Name Service (DNS)", | |
20 "Topic :: Software Development :: Libraries :: Python Modules", | |
21 ]) | |
22 else: | |
23 extraMeta = {} | |
24 | |
25 dist.setup( | |
26 twisted_subproject="names", | |
27 # metadata | |
28 name="Twisted Names", | |
29 description="A Twisted DNS implementation.", | |
30 author="Twisted Matrix Laboratories", | |
31 author_email="twisted-python@twistedmatrix.com", | |
32 maintainer="Jp Calderone", | |
33 maintainer_email="exarkun@divmod.com", | |
34 url="http://twistedmatrix.com/trac/wiki/TwistedNames", | |
35 license="MIT", | |
36 long_description="""\ | |
37 Twisted Names is both a domain name server as well as a client | |
38 resolver library. Twisted Names comes with an "out of the box" | |
39 nameserver which can read most BIND-syntax zone files as well as a | |
40 simple Python-based configuration format. Twisted Names can act as an | |
41 authoritative server, perform zone transfers from a master to act as a | |
42 secondary, act as a caching nameserver, or any combination of | |
43 these. Twisted Names' client resolver library provides functions to | |
44 query for all commonly used record types as well as a replacement for | |
45 the blocking gethostbyname() function provided by the Python stdlib | |
46 socket module. | |
47 """, | |
48 **extraMeta) | |
OLD | NEW |