forked from ronf/asyncssh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·66 lines (56 loc) · 2.21 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#!/usr/bin/env python3.4
# Copyright (c) 2013-2014 by Ron Frederick <[email protected]>.
# All rights reserved.
#
# This program and the accompanying materials are made available under
# the terms of the Eclipse Public License v1.0 which accompanies this
# distribution and is available at:
#
# http://www.eclipse.org/legal/epl-v10.html
#
# Contributors:
# Ron Frederick - initial implementation, API, and documentation
"""AsyncSSH: Asynchronous SSHv2 client and server library
AsyncSSH is a Python package which provides an asynchronous client and
server implementation of the SSHv2 protocol on top of the Python asyncio
framework. It requires Python 3.4 or later and either the PyCA library or
the PyCrypto library for some cryptographic functions.
"""
from os import path
from setuptools import setup
base_dir = path.abspath(path.dirname(__file__))
doclines = __doc__.split('\n', 1)
with open(path.join(base_dir, 'README.rst')) as desc:
long_description = desc.read()
with open(path.join(base_dir, 'asyncssh', 'version.py')) as version:
exec(version.read())
setup(name = 'asyncssh',
version = __version__,
author = __author__,
author_email = __author_email__,
url = __url__,
download_url = __url__ + 'asyncssh-%s.tar.gz' % __version__,
license = 'Eclipse Public License v1.0',
description = doclines[0],
long_description = long_description,
platforms = 'Any',
extras_require = {
'pycrypto': ['pycrypto >= 2.6'],
'pyca': ['cryptography >= 0.6.1']
},
packages = ['asyncssh', 'asyncssh.crypto', 'asyncssh.crypto.pyca',
'asyncssh.crypto.pycrypto'],
scripts = [],
test_suite = 'tests',
classifiers = [
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved',
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX',
'Programming Language :: Python :: 3.4',
'Topic :: Internet',
'Topic :: Security :: Cryptography',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: System :: Networking'])