from setuptools import find_packages, setup

version = "4.2.0"  # x-release-please-version

setup(
    name="libretime-playout",
    version=version,
    description="LibreTime Playout",
    author="LibreTime Contributors",
    url="https://github.com/libretime/libretime",
    project_urls={
        "Bug Tracker": "https://github.com/libretime/libretime/issues",
        "Documentation": "https://libretime.org",
        "Source Code": "https://github.com/libretime/libretime",
    },
    license="AGPLv3",
    packages=find_packages(exclude=["*tests*", "*fixtures*"]),
    package_data={"": ["**/*.liq", "**/*.liq.j2", "*.types"]},
    entry_points={
        "console_scripts": [
            "libretime-playout=libretime_playout.main:cli",
            "libretime-liquidsoap=libretime_playout.liquidsoap.main:cli",
            "libretime-playout-notify=libretime_playout.notify.main:cli",
        ]
    },
    python_requires=">=3.8",
    install_requires=[
        "backports.zoneinfo>=0.2.1,<0.3;python_version<'3.9'",
        "jinja2>=3.0.3,<3.2",
        "kombu==4.6.11",
        "lxml>=4.5.0,<6.0.0",
        "mutagen>=1.45.1,<1.48",
        "python-dateutil>=2.8.1,<2.10",
        "requests>=2.32.2,<2.33",
        "typing-extensions",
    ],
    extras_require={
        "dev": [
            "distro>=1.8.0,<2",
            "requests-mock>=1.10.0,<2",
            "syrupy>=4.0.0,<5",
            "types-backports>=0.1.3,<1",
            "types-python-dateutil>=2.8.1,<3",
            "types-requests>=2.31.0,<3",
        ],
        "sentry": [
            "sentry-sdk>=1.15.0,<2",
        ],
    },
    zip_safe=False,
)
