"""Arthur SDK - Simple trading for AI agents on Orderly Network."""

from setuptools import setup, find_packages

with open("README.md", "r", encoding="utf-8") as f:
    long_description = f.read()

setup(
    name="arthur-sdk",
    version="0.2.1",
    author="Arthur",
    author_email="arthur.orderly@proton.me",
    description="Simple trading for AI agents on Orderly Network",
    long_description=long_description,
    long_description_content_type="text/markdown",
    url="https://github.com/ranyi1115/arthur-sdk",
    project_urls={
        "Homepage": "https://arthurdex.com",
        "Documentation": "https://arthurdex.com/docs",
        "Repository": "https://github.com/ranyi1115/arthur-sdk",
        "Issues": "https://github.com/ranyi1115/arthur-sdk/issues",
        "Changelog": "https://github.com/ranyi1115/arthur-sdk/blob/main/CHANGELOG.md",
    },
    packages=find_packages(),
    classifiers=[
        "Development Status :: 4 - Beta",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.9",
        "Programming Language :: Python :: 3.10",
        "Programming Language :: Python :: 3.11",
        "Programming Language :: Python :: 3.12",
        "Topic :: Office/Business :: Financial :: Investment",
        "Topic :: Software Development :: Libraries :: Python Modules",
    ],
    python_requires=">=3.9",
    install_requires=[
        "pynacl>=1.5.0",  # For ed25519 signing
    ],
    extras_require={
        "withdraw": [
            "eth-account>=0.10.0",  # For EIP-712 withdrawal signing
        ],
        "dev": [
            "pytest>=7.0",
            "pytest-asyncio>=0.21",
            "black>=23.0",
            "mypy>=1.0",
            "eth-account>=0.10.0",
        ],
        "all": [
            "eth-account>=0.10.0",
        ],
    },
    entry_points={
        "console_scripts": [
            "arthur=arthur_sdk.cli:main",
        ],
    },
    keywords=[
        "trading",
        "crypto",
        "orderly",
        "defi",
        "perpetuals",
        "ai",
        "agents",
        "arthur",
    ],
)
