"""
Setup script for Python Version Manager CLI tool
"""

from setuptools import setup, find_packages

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

setup(
    name="pyvm-updater",
    version="2.0.0",
    author="Shreyas Mene",
    author_email="shreyasmene06@gmail.com",
    description="Cross-platform Python version checker and installer (does NOT modify system defaults)",
    long_description=long_description,
    long_description_content_type="text/markdown",
    url="https://github.com/shreyasmene06/pyvm-updater",
    py_modules=["python_version", "pyvm_tui"],
    classifiers=[
        "Development Status :: 4 - Beta",
        "Intended Audience :: Developers",
        "Topic :: Software Development :: Build Tools",
        "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",
        "Programming Language :: Python :: 3.12",
        "Programming Language :: Python :: 3.13",
        "Programming Language :: Python :: 3.14",
        "Operating System :: OS Independent",
    ],
    python_requires=">=3.9",
    install_requires=[
        "requests>=2.25.0",
        "beautifulsoup4>=4.9.0",
        "packaging>=20.0",
        "click>=8.0.0",
    ],
    extras_require={
        "tui": [
            "textual>=0.40.0",
        ],
        "dev": [
            "pytest>=6.0",
            "pytest-cov>=2.0",
            "black>=21.0",
            "flake8>=3.9",
            "mypy>=0.900",
            "textual-dev>=1.0.0",
        ],
    },
    entry_points={
        "console_scripts": [
            "pyvm=python_version:main",
        ],
    },
)
