#!/usr/bin/env python

from setuptools import find_packages, setup

MINIMAL_REQUIREMENTS = [
    "numpy>=1.16",
    "xarray>=2022.6",
    "xclim>=0.43, <0.44",
    "cf_xarray>=0.7.4",
    "cftime>=1.4.1",
    "dask[array]",
    "netCDF4>=1.5.7",
    "pyyaml",
    "psutil",
    "zarr",
    "rechunker>=0.3, !=0.4",
    "fsspec",
    "pandas>=1.3",
    "dateparser",
]

setup(
    name="icclim",
    version="6.4.0",
    packages=find_packages(),
    author="Christian P.",
    author_email="christian.page@cerfacs.fr",
    description="Python library for climate indices calculation",
    long_description=open("README.rst").read(),
    long_description_content_type="text/x-rst",
    include_package_data=True,
    url="https://github.com/cerfacs-globc/icclim",
    install_requires=MINIMAL_REQUIREMENTS,
    python_requires=">=3.8",
    classifiers=[
        "Programming Language :: Python",
        "Development Status :: 4 - Beta",
        "Intended Audience :: Science/Research",
        "License :: OSI Approved :: Apache Software License",
        "Natural Language :: French",
        "Operating System :: OS Independent",
        "Programming Language :: Python :: 3.8",
        "Topic :: Scientific/Engineering :: Atmospheric Science",
    ],
)
