import setuptools
from setuptools import setup
from pathlib import Path
import os
import platform

# Make the Readme.md as long description
if platform.system() == "Linux":
    long_description = "not yet working on Databricks"
else:
    with open(
        str(Path(os.path.abspath(__file__)).parent.parent) + "/README.md", "r"
    ) as fh:
        long_description = fh.read()

setuptools.setup(
    name="aio",
    version="0.0.3",
    author="AIO",
    author_email="maintainer@aioneers.com",
    license="MIT",
    description="AIO tools",
    long_description=long_description,
    long_description_content_type="text/markdown",
    url="https://github.com/aioneers/aio",
    downloadurl="https://github.com/aioneers/aio/archive/0.0.3.tar.gz",
    packages=setuptools.find_packages(),
    classifiers=[
        "Programming Language :: Python :: 3",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
    ],
    python_requires=">=3.7",
    install_requires=[
        "pytest",
        'pyarrow',
        "pydata_sphinx_theme",
        "nbsphinx",
        "numpydoc",
        "numpy",
        "pandas",
        "scipy",
        "openpyxl",
    ],
)
