~justin-fathomdb/nova/justinsb-openstack-api-volumes

« back to all changes in this revision

Viewing changes to vendor/Twisted-10.0.0/twisted/names/topfiles/setup.py

  • Committer: Jesse Andrews
  • Date: 2010-05-28 06:05:26 UTC
  • Revision ID: git-v1:bf6e6e718cdc7488e2da87b21e258ccc065fe499
initial commit

Show diffs side-by-side

added added

removed removed

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