import pathlib

from setuptools import setup

import versioneer

here = pathlib.Path(__file__).parent.resolve()
long_description = open("./fideslog/sdk/python/README.md").read()

# Requirements
install_requires = (
    open("fideslog/sdk/python/requirements.txt").read().strip().split("\n")
)
dev_requires = open("dev-requirements.txt").read().strip().split("\n")

setup(
    name="fideslog",
    version=versioneer.get_version(),
    cmdclass=versioneer.get_cmdclass(),
    description="SDK for interacting with fideslog",
    long_description=long_description,
    long_description_content_type="text/markdown",
    url="https://github.com/ethyca/fideslog",
    python_requires=">=3.8, <4",
    package_dir={"fideslog": "fideslog"},
    packages=["fideslog.sdk.python"],
    author="Ethyca, Inc.",
    author_email="fidesteam@ethyca.com",
    license="Apache License 2.0",
    install_requires=install_requires,
    dev_requires=dev_requires,
    classifiers=[
        "License :: OSI Approved :: Apache Software License",
        "Programming Language :: Python :: 3 :: Only",
        "Programming Language :: Python :: 3.8",
        "Programming Language :: Python :: 3.9",
        "Topic :: Software Development :: Libraries",
    ],
)
