from setuptools import find_packages
from setuptools import setup


setup(
    name="qontract-reconcile",
    version="0.3.0",
    license="Apache License 2.0",

    author="Red Hat App-SRE Team",
    author_email="sd-app-sre@redhat.com",
    python_requires=">=3.9",
    description="Collection of tools to reconcile services with their desired "
                "state as defined in the app-interface DB.",

    url='https://github.com/app-sre/qontract-reconcile',

    packages=find_packages(exclude=('tests',)),
    package_data={'reconcile': ['templates/*.j2']},

    install_requires=[
        "sretoolbox~=1.2",
        "Click>=7.0,<8.0",
        "graphqlclient>=0.2.4,<0.3.0",
        "toml>=0.10.0,<0.11.0",
        "jsonpath-rw>=1.4.0,<1.5.0",
        "PyGithub>=1.55,<1.56",
        "hvac>=0.7.0,<0.8.0",
        "ldap3>=2.9.1,<2.10.0",
        "anymarkup>=0.7.0,<0.8.0",
        "python-gitlab>=1.11.0,<1.12.0",
        "semver~=2.13",
        "python-terraform>=0.10.0,<0.11.0",
        "boto3>=1.17.49,<=1.18.0",
        "botocore>=1.20.49,<=1.21.0",
        "urllib3>=1.25.4,<1.26.0",
        "slack_sdk>=3.10,<4.0",
        "pypd>=1.1.0,<1.2.0",
        "Jinja2>=2.10.1,<2.11.0",
        "jira~=3.1",
        "pyOpenSSL~=21.0",
        "ruamel.yaml>=0.16.5,<0.17.0",
        "terrascript==0.9.0",
        "tabulate>=0.8.6,<0.9.0",
        "UnleashClient>=3.4.2,<3.5.0",
        "prometheus-client~=0.8",
        "sentry-sdk~=0.14",
        "jenkins-job-builder==2.10.1",
        "tzlocal==2.1",
        "parse==1.18.0",
        "sendgrid>=6.4.8,<6.5.0",
        "dnspython~=2.1",
        "requests==2.22.0",
        "kubernetes~=12.0",
        "openshift>=0.11.2",
        "websocket-client<0.55.0,>=0.35",
        "sshtunnel>=0.4.0",
        "croniter>=1.0.15,<1.1.0",
        "dyn~=1.8.1",
        "transity-statuspageio>=0.0.3,<0.1",
        "pydantic~=1.9.0",
    ],

    test_suite="tests",

    classifiers=[
        'Development Status :: 2 - Pre-Alpha',
        'Programming Language :: Python',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.9',
    ],
    entry_points={
        'console_scripts': [
            'qontract-reconcile = reconcile.cli:integration',
            'e2e-tests = e2e_tests.cli:test',
            'app-interface-reporter = tools.app_interface_reporter:main',
            'qontract-cli = tools.qontract_cli:root',
        ],
    },
)
