import setuptools
from importlib import import_module

with open("README.md", "r") as fh:
    long_description = fh.read()

setuptools.setup(
    name="unred",
    version=import_module("unred").__version__,
    author="Przemysław Bruś",
    description="Determine the interstellar extinction for observed stars",
    long_description=long_description,
    long_description_content_type="text/markdown",
    url="https://github.com/pbrus/unredden-stars",
    packages=setuptools.find_packages(exclude=["tests"]),
    install_requires=["numpy", "scipy"],
    scripts=["unred_stars.py"],
    tests_require=["pytest"],
    keywords=["reddening", "extinction", "stars"],
    classifiers=[
        "Development Status :: 5 - Production/Stable",
        "Intended Audience :: Science/Research",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
        "Programming Language :: Python",
        "Programming Language :: Python :: 3.5",
        "Programming Language :: Python :: 3.6",
        "Programming Language :: Python :: 3.7",
        "Topic :: Scientific/Engineering :: Astronomy",
        "Topic :: Utilities",
    ],
)
