"""`telliot` package setup"""
from setuptools import find_packages
from setuptools import setup
from sphinx.setup_command import BuildDoc

cmdclass = {"build_sphinx": BuildDoc}

name = "telliot"
version = "0.0"
release = "0.0.0"

setup(
    name=name,
    version=release,
    packages=find_packages(where="src"),
    package_dir={"": "src"},
    url="www.tellor.io",
    license="MIT",
    cmdclass=cmdclass,
    author="Tellor Contributors",
    author_email="info@tellor.io",
    description="Tellor Client",
    python_requires=">=3.8",
    install_requires=[
        "requests",
        "sphinx",
        "sphinx-rtd-theme",
        "pydantic",
    ],
    tests_require=[
        "pytest",
        "pytest-asyncio",
        "pytest-cov",
        "tox",
        "tox-travis",
    ],
    command_options={
        "build_sphinx": {
            "project": ("setup.py", name),
            "version": ("setup.py", version),
            "release": ("setup.py", release),
            "source_dir": ("setup.py", "docs/source"),
        }
    },
)
