~ntt-pf-lab/nova/monkey_patch_notification

« back to all changes in this revision

Viewing changes to vendor/Twisted-10.0.0/twisted/mail/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 :: Email :: Post-Office :: IMAP",
 
23
                "Topic :: Communications :: Email :: Post-Office :: POP3",
 
24
                "Topic :: Software Development :: Libraries :: Python Modules",
 
25
            ])
 
26
    else:
 
27
        extraMeta = {}
 
28
 
 
29
    dist.setup(
 
30
        twisted_subproject="mail",
 
31
        scripts=dist.getScripts("mail"),
 
32
        # metadata
 
33
        name="Twisted Mail",
 
34
        description="A Twisted Mail library, server and client.",
 
35
        author="Twisted Matrix Laboratories",
 
36
        author_email="twisted-python@twistedmatrix.com",
 
37
        maintainer="Jp Calderone",
 
38
        url="http://twistedmatrix.com/trac/wiki/TwistedMail",
 
39
        license="MIT",
 
40
        long_description="""\
 
41
An SMTP, IMAP and POP protocol implementation together with clients
 
42
and servers.
 
43
 
 
44
Twisted Mail contains high-level, efficient protocol implementations
 
45
for both clients and servers of SMTP, POP3, and IMAP4. Additionally,
 
46
it contains an "out of the box" combination SMTP/POP3 virtual-hosting
 
47
mail server. Also included is a read/write Maildir implementation and
 
48
a basic Mail Exchange calculator.
 
49
""",
 
50
        **extraMeta)