from setuptools import setup, find_packages

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

setup(
    name="basis-router",
    version="0.1.0",
    author="Your Name",
    author_email="your.email@example.com",
    description="A flexible routing system for managing LLM requests across multiple providers",
    long_description=long_description,
    long_description_content_type="text/markdown",
    url="https://github.com/yourusername/llm-router",
    packages=find_packages(),
    classifiers=[
        "Development Status :: 3 - Alpha",
        "Intended Audience :: Developers",
        "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",
    ],
    python_requires=">=3.8",
    install_requires=[
        # No core dependencies - all are optional
    ],
    extras_require={
        "openai": ["openai>=1.0.0"],
        "anthropic": ["anthropic>=0.18.0"],
        "gemini": ["google-generativeai>=0.3.0"],
        "s3": ["boto3>=1.28.0"],
        "mongodb": ["pymongo>=4.6.0"],
        "redis": ["redis>=5.0.0"],
        "postgres": ["asyncpg>=0.29.0"],
        "chunking": ["tiktoken>=0.5.0"],
        "all": [
            "openai>=1.0.0",
            "anthropic>=0.18.0",
            "google-generativeai>=0.3.0",
            "boto3>=1.28.0",
            "pymongo>=4.6.0",
            "redis>=5.0.0",
            "asyncpg>=0.29.0",
            "tiktoken>=0.5.0",
        ],
    },
)

