import os
from setuptools import setup, find_packages

here = os.path.abspath(os.path.dirname(__file__))

with open(os.path.join(here, "README.md"), encoding="utf-8") as f:
    long_description = f.read()

setup(
    name="obol-sdk",
    version="0.2.1",
    description="Trust infrastructure for AI agents",
    long_description=long_description,
    long_description_content_type="text/markdown",
    author="Gray Owl Research",
    author_email="dev@grayowlresearch.com",
    url="https://obol.grayowlresearch.com",
    project_urls={
        "Homepage": "https://obol.grayowlresearch.com",
        "Documentation": "https://obol.grayowlresearch.com/docs/quickstart",
        "Bug Tracker": "https://github.com/grayowlresearch/obol/issues",
        "Source": "https://github.com/grayowlresearch/obol",
    },
    license="MIT",
    packages=find_packages(exclude=["build", "build.*"]),
    python_requires=">=3.10",
    install_requires=[],  # Zero dependencies - uses only stdlib
    extras_require={
        "crypto": ["cryptography>=41.0"],
        "ml": ["scikit-learn>=1.3"],
        "all": ["cryptography>=41.0", "scikit-learn>=1.3"],
        "dev": ["pytest", "requests", "build", "twine"],
    },
    entry_points={
        "console_scripts": [
            "obol=obol.cli:main",
        ],
    },
    classifiers=[
        "Development Status :: 4 - Beta",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: MIT License",
        "Topic :: Security",
        "Topic :: Software Development :: Quality Assurance",
        "Operating System :: OS Independent",
        "Operating System :: Microsoft :: Windows",
        "Operating System :: POSIX :: Linux",
        "Operating System :: MacOS :: MacOS X",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.10",
        "Programming Language :: Python :: 3.11",
        "Programming Language :: Python :: 3.12",
        "Programming Language :: Python :: 3.13",
    ],
    keywords="ai agents trust monitoring security anomaly-detection",
)
