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