#!/usr/bin/env python
# -*- coding: utf-8 -*-

# nagios-check-supervisord
# setup.py


from setuptools import setup, find_packages


# metadata
VERSION = (2, 2, 1)
__version__ = ".".join(map(str, VERSION))

DATA = [
    "README.rst",
    "COPYING",
    "AUTHORS",
]

setup(
    name="nagios-check-supervisord",
    version=__version__,
    packages=find_packages(exclude=["tests.*", "tests"]),
    scripts=["check_supervisord.py"],
    package_data={"nagios-check-supervisord": DATA},
    data_files=[("share/doc/nagios-check-supervisord/", DATA)],
    author="Alexei Andrushievich",
    author_email="vint21h@vint21h.pp.ua",
    description="Check supervisord programs status Nagios plugin",
    long_description=open("README.rst").read(),
    long_description_content_type="text/x-rst",
    license="GPLv3+",
    url="https://github.com/vint21h/nagios-check-supervisord/",
    download_url="https://github.com/vint21h/nagios-check-supervisord/archive/{version}.tar.gz".format(  # noqa: E501
        version=__version__
    ),
    zip_safe=False,
    include_package_data=True,
    python_requires=">=2.7",
    test_suite="tests",
    keywords=[
        "nagios",
        "supervisord",
        "check-supervisord",
        "plugin",
        "check-supervisord-plugin",
    ],
    classifiers=[
        "Development Status :: 5 - Production/Stable",
        "Environment :: Console",
        "Environment :: Plugins",
        "Intended Audience :: System Administrators",
        "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
        "Operating System :: Unix",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python :: 3.6",
        "Programming Language :: Python :: 3.7",
        "Programming Language :: Python :: 3.8",
        "Programming Language :: Python :: 3.9",
        "Topic :: System :: Monitoring",
        "Topic :: Utilities",
    ],
    extras_require={
        "unix-socket-support": ["supervisor"],
        "test": [
            "attrs==21.2.0",
            "bandit==1.7.0",
            "black==20.8b1",
            "check-manifest==0.46",
            "check-wheel-contents==0.3.0",
            "contextlib2==0.6.0.post1",
            "coverage==5.5",
            "coveralls==3.1.0",
            "darglint==1.8.0",
            "dodgy==0.2.1",
            "dotenv-linter==0.2.0",
            "flake8-annotations-complexity==0.0.6",
            "flake8-annotations-coverage==0.0.5",
            "flake8-bugbear==21.4.3",
            "flake8-comprehensions==3.5.0",
            "flake8-docstrings==1.6.0",
            "flake8-fixme==1.1.1",
            "flake8==3.9.2",
            "interrogate==1.4.0",
            "isort==5.8.0",
            "mypy==0.812",
            "pep8-naming==0.11.1",
            "pre-commit-hooks==4.0.1",
            "pre-commit==2.13.0",
            "pygments==2.9.0",
            "pylint==2.8.2",
            "pyroma==3.1",
            "pytest-cov==2.12.0",
            "pytest-instafail==0.4.2",
            "pytest-mock==3.6.1",
            "pytest-sugar==0.9.4",
            "pytest-tldr==0.2.4",
            "pytest==6.2.4",
            "readme_renderer==29.0",
            "removestar==1.2.2",
            "seed-isort-config==2.2.0",
            "tabulate==0.8.9",
            "tox-gh-actions==2.5.0",
            "tox-pyenv==1.1.0",
            "tox==3.23.1",
            "twine==3.4.1",
            "wheel==0.36.2",
            "yesqa==1.2.3",
        ],
        "test-old-python": [
            "check-manifest==0.41",
            "contextlib2==0.6.0.post1",
            "coverage==5.5",
            "coveralls==1.11.1",
            "pygments==2.5.2",
            "pytest-cov==2.12.0",
            "pytest-instafail==0.4.2",
            "pytest-mock==2.0.0",
            "pytest-sugar==0.9.4",
            "pytest==4.6.9",
            "readme_renderer==29.0",
            "tox-pyenv==1.1.0",
            "tox-gh-actions==2.5.0",
            "tox==3.23.1",
            "twine==1.15.0",
        ],
    },
)
