"""setup: rio-viz."""

from setuptools import setup, find_packages

# Runtime requirements.
inst_reqs = [
    "click",
    "rio-cogeo",
    "rio-tiler>=1.2.10",
    "rio-tiler-mvt",
    "rio-color",
    "fastapi",
    "uvicorn",
]

extra_reqs = {
    "test": ["requests", "mock", "pytest", "pytest-cov"],
    "dev": ["mock", "pytest", "pytest-cov", "pre-commit"],
}

setup(
    name="rio-viz",
    version="0.0.6",
    python_requires=">=3",
    description=u"Visualize Cloud Optimized GeoTIFF in browser",
    classifiers=[
        "Intended Audience :: Information Technology",
        "Intended Audience :: Science/Research",
        "License :: OSI Approved :: BSD License",
        "Programming Language :: Python :: 3.6",
        "Topic :: Scientific/Engineering :: GIS",
    ],
    keywords="COG COGEO Rasterio GIS MVT",
    author=u"Vincent Sarago",
    author_email="vincent@developmentseed.org",
    url="https://github.com/developmentseed/rio-viz",
    packages=find_packages(exclude=["ez_setup", "examples", "tests"]),
    include_package_data=True,
    zip_safe=False,
    license="MIT",
    install_requires=inst_reqs,
    extras_require=extra_reqs,
    entry_points="""
      [rasterio.rio_plugins]
      viz=rio_viz.scripts.cli:viz
      """,
)
