from setuptools import setup, find_packages

# Read the README.md file for the long description
with open("README.md", "r") as fh:
    long_description = fh.read()

setup(
    name="automated-marking",  # The name of your package as it appears on PyPI
    version="0.1.5",  # Package version, update with each release
    author="Youssef Kawook",
    author_email="kawooky@gmail.com",
    description="Python script designed to clone Git repositories, detect programming languages, validate the code, and log the results to an Excel file.",
    long_description=long_description,  # Long description from README.md
    long_description_content_type="text/markdown",  # Specify the format of the long description
    url="https://github.com/kawooky/CTA-automated-marking",  # Project URL
    packages=find_packages(),  # Automatically find all packages
    classifiers=[  # Optional: Classifiers to categorize your project
        "Programming Language :: Python :: 3",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
    ],
    python_requires='>=3.6',  # Python version requirement
    install_requires=[  # Optional: Dependencies
        "pandas>=1.0",        # Data manipulation library
        "gitpython>=3.0",     # Git integration library
        "requests>=2.0",      # For making HTTP requests
        "openpyxl>=3.0",      # For reading and writing Excel files
        "sqlparse>=0.4",      # For parsing SQL statements
    ],
    entry_points={
        'console_scripts': [
            'automated-marking=automated_marking.main:main',  # Correct reference to the main function
        ],
    },
)
