from setuptools import setup, find_packages

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

with open("requirements.txt", "r", encoding="utf-8") as fh:
    requirements = [line.strip() for line in fh if line.strip() and not line.startswith("#")]

setup(
    name="scheduler-alarms-cli",
    version="0.1.0",
    author="Developer",
    author_email="dev@example.com",
    description="A simple CLI application to schedule jobs, run tasks, and handle alarms",
    long_description=long_description,
    long_description_content_type="text/markdown",
    url="https://github.com/scheduler-alarms/scheduler-alarms-cli",
    packages=find_packages(exclude=["*__pycache__*"]),
    py_modules=["cli", "simple_alarm", "alarm_cmd"],
    classifiers=[
        "Development Status :: 3 - Alpha",
        "Intended Audience :: Developers",
        "Topic :: Software Development :: Libraries :: Python Modules",
        "License :: OSI Approved :: MIT License",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.7",
        "Programming Language :: Python :: 3.8",
        "Programming Language :: Python :: 3.9",
        "Programming Language :: Python :: 3.10",
        "Programming Language :: Python :: 3.11",
    ],
    python_requires=">=3.7",
    install_requires=requirements,
    entry_points={
        "console_scripts": [
            "scheduler-cli=cli:main",
            "simple-alarm=simple_alarm:main",
            "alarm-cmd=alarm_cmd:main",
        ],
    },
)
