| 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 :: Console", | |
| 16 "Environment :: No Input/Output (Daemon)", | |
| 17 "Intended Audience :: Developers", | |
| 18 "Intended Audience :: End Users/Desktop", | |
| 19 "Intended Audience :: System Administrators", | |
| 20 "License :: OSI Approved :: MIT License", | |
| 21 "Programming Language :: Python", | |
| 22 "Topic :: Internet", | |
| 23 "Topic :: Security", | |
| 24 "Topic :: Software Development :: Libraries :: Python Modules", | |
| 25 "Topic :: Terminals", | |
| 26 ]) | |
| 27 else: | |
| 28 extraMeta = {} | |
| 29 | |
| 30 dist.setup( | |
| 31 twisted_subproject="conch", | |
| 32 scripts=dist.getScripts("conch"), | |
| 33 # metadata | |
| 34 name="Conch", | |
| 35 description="Twisted SSHv2 implementation.", | |
| 36 author="Twisted Matrix Laboratories", | |
| 37 author_email="twisted-python@twistedmatrix.com", | |
| 38 maintainer="Paul Swartz", | |
| 39 maintainer_email="z3p@twistedmatrix.com", | |
| 40 url="http://twistedmatrix.com/trac/wiki/TwistedConch", | |
| 41 license="MIT", | |
| 42 long_description="""\ | |
| 43 Conch is an SSHv2 implementation using the Twisted framework. It | |
| 44 includes a server, client, a SFTP client, and a key generator. | |
| 45 """, | |
| 46 **extraMeta) | |
| OLD | NEW |