#!/usr/bin/env python3
# Copyright 2023 Katteli Inc.
# TestFlows.com Open-Source Software Testing Framework (http://testflows.com)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from setuptools import setup

with open("README.rst", "r", encoding="utf-8") as fd:
    long_description = fd.read()


setup(
    name="testflows.github.hetzner.runners",
    version="1.8.250512.1220359",
    description="Autoscaling GitHub Actions Runners Using Hetzner Cloud ",
    author="Vitaliy Zakaznikov",
    author_email="vzakaznikov@testflows.com",
    long_description=long_description,
    long_description_content_type="text/x-rst",
    url="https://github.com/testflows/testflows-github-hetzner-runners",
    classifiers=[
        "Development Status :: 4 - Beta",
        "Programming Language :: Python :: 3",
        "License :: OSI Approved :: Apache Software License",
        "Operating System :: POSIX :: Linux",
    ],
    python_requires=">=3.8",
    license="Apache-2.0",
    packages=[
        "testflows.github.hetzner.runners",
        "testflows.github.hetzner.runners.bin",
        "testflows.github.hetzner.runners.config",
        "testflows.github.hetzner.runners.scripts",
        "testflows.github.hetzner.runners.scripts.deploy",
        "testflows.github.hetzner.runners.dashboard",
        "testflows.github.hetzner.runners.dashboard.panels",
    ],
    package_data={
        "testflows.github.hetzner.runners.config": ["*.json"],
        "testflows.github.hetzner.runners.scripts": ["*.sh"],
        "testflows.github.hetzner.runners.scripts.deploy": ["*.sh"],
        "testflows.github.hetzner.runners.bin": ["github-hetzner-runners"],
        "testflows.github.hetzner.runners.dashboard": ["html/*.html", "css/*.css"],
    },
    scripts=["testflows/github/hetzner/runners/bin/github-hetzner-runners"],
    zip_safe=False,
    install_requires=[
        "PyGithub==1.59.0",
        "hcloud==2.3.0",
        "requests-cache==1.1.0",
        "PyYAML==6.0.2",
        "prometheus_client==0.19.0",
        "dash==2.14.2",
        "plotly==5.18.0",
    ],
    extras_require={"dev": []},
)
