from setuptools import setup
from os import path

# read the contents of README file
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, "README.md"), encoding="utf-8") as f:
    long_description = f.read()

setup(
    name="tensorboard-termplot",
    version="1.3.2",
    description="View tensorboard stats inside terminal.",
    long_description=long_description,
    long_description_content_type="text/markdown",
    author="Tin Lai (@soraxas)",
    author_email="oscar@tinyiu.com",
    license="MIT",
    url="https://github.com/soraxas/tensorboard-termplot",
    keywords="tui tensorboard termplot stats",
    python_requires=">=3.6",
    packages=["tensorboard_termplot", "tensorboard_termplot.backend", "tensorboard_termplot.data_source"],
    install_requires=["tensorboard>=2.5", "plotext==4.0", "mock", "pillow", "pandas", "numpy", "scipy"],
    extras_require={"matplotlib-backend": ["matplotlib"]},
    entry_points={
        "console_scripts": ["tensorboard-termplot=tensorboard_termplot.main:run"]
    },
    classifiers=[
        "Environment :: Console",
        "Framework :: Matplotlib",
        "Intended Audience :: Developers",
        "Intended Audience :: End Users/Desktop",
        "Intended Audience :: System Administrators",
        "License :: OSI Approved :: MIT License",
        "Operating System :: MacOS",
        "Operating System :: POSIX",
        "Operating System :: Unix",
        "Programming Language :: Python :: 3.6",
        "Programming Language :: Python :: 3.7",
        "Programming Language :: Python :: 3.8",
        "Programming Language :: Python :: 3.9",
        "Topic :: Desktop Environment",
        "Topic :: Terminals",
        "Topic :: Utilities",
    ],
)
