setup.py 1.21 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 24 25 26 27
setup(
    name='haas-proxy',
    version='1.0',
    packages=[],
    scripts=['honeypot_proxy.py'],

28
    install_requires=[
29
        'twisted[conch]>={}'.format(TWISTED_VERSION),
30
    ],
31 32 33
    extras_require={
        'test': EXTRA_TEST_REQUIRE,
    },
Michal Horejsek's avatar
Michal Horejsek committed
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49

    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.',
    license='GPLv2',

    classifiers=[
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 3',
        'License :: OSI Approved :: GPLv2',
        'Operating System :: OS Independent',
        'Development Status :: 5 - Production/Stable',
        'Intended Audience :: Developers',
    ],
)