import io, re
from setuptools import setup

with io.open("README.rst", "rt", encoding="utf8") as f:
    readme = f.read()

with io.open("aeroevap/__init__.py", "rt", encoding="utf8") as f:
    version = re.search(r"__version__ = \'(.*?)\'", f.read()).group(1)

requires = [
    'numpy',
    'pandas',
    'matplotlib'
]

tests_require = ['pytest']

classifiers = [
    'License :: OSI Approved :: BSD License',
    'Programming Language :: Python :: 3.7',
    'Environment :: Console',
    'Development Status :: 4 - Beta',
    'Topic :: Scientific/Engineering',
    'Intended Audience :: Science/Research'
]

setup(
    name='AeroEvap',
    description='Aerodynamic mass-transfer approach for open-water evaporation',
    long_description=readme,
    author='Chris Pearson and John Volk',
    author_email='john.volk@dri.edu',
    license='BSD3',
    python_requires='>=3.7',
    version=version,
    url='https://github.com/WSWUP/AeroEvap',
    platforms=['Windows','Linux','Mac OS X'],
    classifiers=classifiers,
    packages=['aeroevap'],
    install_requires=requires,
    tests_require=tests_require,
    include_package_data=True,
)
