from setuptools import setup, find_packages
from pathlib import Path

# Read README
readme_file = Path(__file__).parent / "README.md"
long_description = readme_file.read_text(encoding="utf-8") if readme_file.exists() else ""

setup(
    name="py-hub-launcher",
    version="1.0.4",
    description="A modular Python-based launcher hub for managing files, scripts, and tools",
    long_description=long_description,
    long_description_content_type="text/markdown",
    author="Unk0wn_4uth0r",
    author_email="your.email@example.com",
    url="https://github.com/Unkn0wn-4uth0r/py-hub",
    project_urls={
        "GitHub": "https://github.com/Unkn0wn-4uth0r",
        "Repository": "https://github.com/Unkn0wn-4uth0r/py-hub",
        "Issues": "https://github.com/Unkn0wn-4uth0r/py-hub/issues",
    },
    packages=find_packages(),
    package_data={
        "py_hub": [
            "config.json",
            "themes.json",
            "*.flf",
            "themes/*",
            "sounds/*",
            "Python/**/*",
        ]
    },
    include_package_data=True,
    python_requires=">=3.7",
    install_requires=[
        "pyfiglet>=0.7.2",
    ],
    entry_points={
        "console_scripts": [
            "py-hub-launcher=py_hub.cli:cli_entry",
        ]
    },
    classifiers=[
        "Development Status :: 4 - Beta",
        "Environment :: Console",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
        "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",
        "Topic :: Utilities",
    ],
    keywords="launcher hub file-manager tools scripts",
)
