setup.py 1.89 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
# Author:
#     Federico Sismondi <federico.sismondi@gmail.com>
#
# License: see LICENSE document

import io
from setuptools import setup, find_packages

MAJOR = 0
MINOR = 1
PATCH = 2
VERSION = "{}.{}.{}".format(MAJOR, MINOR, PATCH)

14 15 16
name = 'ioppytest-utils'
description = "Command line interface for interacting with ioppytest testing tool " \
              "(all interactions happen over AMQP even bus)."
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
CLASSIFIERS = [
    "Development Status :: 3 - Alpha",
    "Intended Audience :: Science/Research",
    "Intended Audience :: Developers",
    "Intended Audience :: Testers",
    "Intended Audience :: Network Testers",
    # "License :: OSI Approved :: BSD License",
    "Programming Language :: Python",
    "Programming Language :: Python :: 3",
    "Programming Language :: Python :: 3.5",
    "Programming Language :: Python :: 3.6",
    "Topic :: Networks",
    "Topic :: Interoperability testing",
    "Topic :: Scientific/Engineering",
    # "Operating System :: Microsoft :: Windows", not there yet..
    "Operating System :: POSIX",
    "Operating System :: Unix",
    "Operating System :: MacOS"
]

with open("version.py", "w") as f:
    f.write("__version__ = '{}'\n".format(VERSION))

setup(
    name=name,
    author='Federico Sismondi',
43 44 45
    author_email="federicosismondi@gmail.com",
    maintainer='Federico Sismondi',
    maintainer_email="federicosismondi@gmail.com",
46 47 48 49 50
    description=description,
    version=VERSION,
    license="??",
    classifiers=CLASSIFIERS,
    packages=find_packages(exclude=["tests"]),
51
    py_modules=['tabulate', 'event_bus_utils'],
52 53 54 55 56 57 58 59 60 61 62 63 64
    long_description=io.open('README.md', 'r', encoding='utf-8').read(),
    install_requires=[
        'click==6.7',
        'click_repl==0.1.2',
        'pika==0.11.0',
        'prompt_toolkit==1.0.15',
        'wcwidth==0.1.7',
    ],
    entry_points={'console_scripts': [
        'ioppytest-cli=ioppytest_cli.ioppytest_cli:main',
    ],
    },
)