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