setup.py 1.31 KB
Newer Older
Michal Horejsek's avatar
Michal Horejsek committed
1 2 3 4 5 6 7 8 9 10 11 12 13
#!/usr/bin/env python

import sys
try:
    from setuptools import setup
except ImportError:
    from distutils.core import setup


# You need at least Twisted version 16.0 but version for Python 3
# has some bugs which are solved in 16.6.
TWISTED_VERSION = '16.0' if sys.version_info < (3, 0) else '16.6'

14 15 16 17 18 19 20 21
EXTRA_TEST_REQUIRE = [
    'pylint',
    'pytest',
]
if sys.version_info < (3, 0):
    EXTRA_TEST_REQUIRE += ['mock']


Michal Horejsek's avatar
Michal Horejsek committed
22 23
setup(
    name='haas-proxy',
Michal Horejsek's avatar
Michal Horejsek committed
24
    version='1.9',
25 26
    packages=[
        'haas_proxy',
27
        'haas_proxy.twisted.plugins',
28
    ],
Michal Horejsek's avatar
Michal Horejsek committed
29

30
    install_requires=[
31
        'twisted[conch]>={}'.format(TWISTED_VERSION),
32 33
        'requests',
        'cachetools',
34
    ],
35 36 37
    extras_require={
        'test': EXTRA_TEST_REQUIRE,
    },
Michal Horejsek's avatar
Michal Horejsek committed
38 39 40 41 42

    url='https://haas.nic.cz',
    author='CZ.NIC Labs',
    author_email='haas@nic.cz',
    description='Honeypot proxy is tool for redirectiong SSH session from local computer to server of HaaS with additional information.',
Michal Horejsek's avatar
Michal Horejsek committed
43
    license='GPLv3',
Michal Horejsek's avatar
Michal Horejsek committed
44 45 46 47

    classifiers=[
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 3',
48
        'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
Michal Horejsek's avatar
Michal Horejsek committed
49 50 51 52 53
        'Operating System :: OS Independent',
        'Development Status :: 5 - Production/Stable',
        'Intended Audience :: Developers',
    ],
)