import os
from setuptools import setup, find_packages

# Read the contents of your README file
this_directory = os.path.abspath(os.path.dirname(__file__))
readme_path = os.path.join(this_directory, 'README.md')
long_description = ""
if os.path.exists(readme_path):
    with open(readme_path, encoding='utf-8') as f:
        long_description = f.read()

setup(
    name="eaheog",
    version="0.1.0",
    description="EOG-HPO Client SDK: Cloud-based hyperparameter optimization",
    long_description=long_description,
    long_description_content_type="text/markdown",
    author="EAH2cloud",
    author_email="support@eaheog.com",  # Add your support email
    url="https://www.eaheog.com",
    project_urls={
        "Documentation": "https://docs.eaheog.com",
        "Source": "https://github.com/yourusername/eaheog",  # Update with your GitHub
        "Bug Reports": "https://github.com/yourusername/eaheog/issues",
    },
    packages=find_packages(exclude=["tests", "tests.*", "examples"]),
    install_requires=[
        "requests>=2.25.0",
    ],
    extras_require={
        "viz": [
            "pandas>=1.3.0",
            "numpy>=1.21.0",
            "matplotlib>=3.4.0",
            "ipython>=7.0.0"
        ],
        "dev": [
            "pytest>=7.0.0",
            "pytest-cov>=3.0.0",
            "black>=22.0.0",
            "flake8>=4.0.0",
            "mypy>=0.950",
        ],
    },
    classifiers=[
        "Development Status :: 4 - Beta",
        "Intended Audience :: Developers",
        "Intended Audience :: Science/Research",
        "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",
        "Topic :: Software Development :: Libraries :: Python Modules",
        "Topic :: Scientific/Engineering :: Artificial Intelligence",
        "Operating System :: OS Independent",
    ],
    python_requires=">=3.7",
    keywords="hyperparameter optimization machine-learning bayesian-optimization hpo",
    license="MIT",
)