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