from setuptools import setup, find_packages
import os

# Read the contents of your README file
with open("README.md", "r", encoding="utf-8") as fh:
    long_description = fh.read()

# Read requirements
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="quiz-solver",
    version="1.0.0",
    author="Your Name",
    author_email="your.email@example.com",
    description="Automated quiz solver using web scraping and search",
    long_description=long_description,
    long_description_content_type="text/markdown",
    url="https://github.com/yourusername/quiz-solver",
    packages=find_packages(),
    classifiers=[
        "Development Status :: 4 - Beta",
        "Intended Audience :: Education",
        "Intended Audience :: Developers",
        "Topic :: Education :: Testing",
        "Topic :: Internet :: WWW/HTTP :: Indexing/Search",
        "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",
        "Operating System :: OS Independent",
    ],
    python_requires=">=3.7",
    install_requires=requirements,
    keywords="quiz, solver, web scraping, education, automation, mcq, questions",
    entry_points={
        'console_scripts': [
            'quiz-solver=quiz_solver.cli:main',
        ],
    },
    project_urls={
        "Bug Reports": "https://github.com/yourusername/quiz-solver/issues",
        "Source": "https://github.com/yourusername/quiz-solver",
    },
)