~0x44/nova/bug838466

« back to all changes in this revision

Viewing changes to vendor/Twisted-10.0.0/twisted/words/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 :: Communications :: Chat",
 
23
                "Topic :: Communications :: Chat :: AOL Instant Messenger",
 
24
                "Topic :: Communications :: Chat :: ICQ",
 
25
                "Topic :: Communications :: Chat :: Internet Relay Chat",
 
26
                "Topic :: Internet",
 
27
                "Topic :: Software Development :: Libraries :: Python Modules",
 
28
            ])
 
29
    else:
 
30
        extraMeta = {}
 
31
 
 
32
    dist.setup(
 
33
        twisted_subproject="words",
 
34
        scripts=dist.getScripts("words"),
 
35
        # metadata
 
36
        name="Twisted Words",
 
37
        description="Twisted Words contains Instant Messaging implementations.",
 
38
        author="Twisted Matrix Laboratories",
 
39
        author_email="twisted-python@twistedmatrix.com",
 
40
        maintainer="Jp Calderone",
 
41
        url="http://twistedmatrix.com/trac/wiki/TwistedWords",
 
42
        license="MIT",
 
43
        long_description="""\
 
44
Twisted Words contains implementations of many Instant Messaging
 
45
protocols, including IRC, Jabber, MSN, OSCAR (AIM & ICQ), TOC (AOL),
 
46
and some functionality for creating bots, inter-protocol gateways, and
 
47
a client application for many of the protocols.
 
48
 
 
49
In support of Jabber, Twisted Words also contains X-ish, a library for
 
50
processing XML with Twisted and Python, with support for a Pythonic DOM and
 
51
an XPath-like toolkit.
 
52
""",
 
53
        **extraMeta)