from setuptools import setup, find_packages

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

setup(
    name="text-to-curses",
    version="0.1.0",
    author="da4games",
    description="A library for displaying documents in terminal with colors using curses",
    long_description=long_description,
    long_description_content_type="text/markdown",
    url="https://github.com/da4games/Text-to-Curses",
    packages=find_packages(),
    classifiers=[
        "Development Status :: 4 - Beta",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
        "Programming Language :: Python :: 3",
        "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",
        "Topic :: Text Processing",
        "Topic :: Terminals",
    ],
    python_requires=">=3.8",
    install_requires=[
        "PyMuPDF>=1.20.0",
        "python-docx>=0.8.11",
        "beautifulsoup4>=4.11.0",
        "webcolors>=1.12.0",
    ],
    extras_require={
        "dev": [
            "pytest>=7.0.0",
            "black>=22.0.0",
            "flake8>=4.0.0",
        ],
    },
    entry_points={
        "console_scripts": [
            "text-to-curses=text_to_curses.cli:main",
        ],
    },
)
