setup.py 1.77 KB
Newer Older
1
# Author:
2
#     Federico Sismondi <federicosismondi@gmail.com>
3 4 5 6

import io
from setuptools import setup, find_packages

Federico Sismondi's avatar
Federico Sismondi committed
7
MAJOR = 1
Federico Sismondi's avatar
Federico Sismondi committed
8 9
MINOR = 2
PATCH = 0
10 11
VERSION = "{}.{}.{}".format(MAJOR, MINOR, PATCH)

12 13
name = 'ioppytest-utils'
description = "Command line interface for interacting with ioppytest testing tool " \
14
              "(all interactions happen over AMQP event bus)."
15 16 17 18 19 20 21 22
CLASSIFIERS = [
    "Development Status :: 3 - Alpha",
    "Intended Audience :: Science/Research",
    "Intended Audience :: Developers",
    "Programming Language :: Python",
    "Programming Language :: Python :: 3",
    "Programming Language :: Python :: 3.5",
    "Programming Language :: Python :: 3.6",
23 24
    "Topic :: Internet",
    "Topic :: Software Development :: Testing",
25 26 27 28 29 30 31 32 33 34 35 36
    "Topic :: Scientific/Engineering",
    "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',
37 38 39
    author_email="federicosismondi@gmail.com",
    maintainer='Federico Sismondi',
    maintainer_email="federicosismondi@gmail.com",
40
    url='https://gitlab.f-interop.eu/f-interop-contributors/utils',
41 42
    description=description,
    version=VERSION,
43
    license='GPLv3+',
44 45
    classifiers=CLASSIFIERS,
    packages=find_packages(exclude=["tests"]),
46
    py_modules=['tabulate', 'event_bus_utils'],
47
    long_description=io.open('README.md', 'r', encoding='utf-8').read(),
48
    long_description_content_type='text/markdown',
49 50 51 52 53 54 55
    install_requires=[
        'click==6.7',
        'click_repl==0.1.2',
        'pika==0.11.0',
        'prompt_toolkit==1.0.15',
        'wcwidth==0.1.7',
    ],
56
    entry_points={'console_scripts': ['ioppytest-cli=ioppytest_cli.ioppytest_cli:main']},
57
)