from codecs import open
from os import path
from setuptools import find_packages, setup

here = path.abspath(path.dirname(__file__))


with open(path.join(here, 'README.md'), encoding='utf-8') as f:
    LONG_DESC = f.read()


setup(
    name='pylandsat',
    version='0.2',
    description='Search, download and preprocess Landsat imagery',
    long_description=LONG_DESC,
    long_description_content_type='text/markdown',
    url='https://github.com/yannforget/pylandsat',
    author='Yann Forget',
    author_email='yannforget@mailbox.org',
    classifiers=[
        'Development Status :: 3 - Alpha',
        'Intended Audience :: Developers',
        'Intended Audience :: Science/Research',
        'Topic :: Scientific/Engineering :: GIS',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
        'Programming Language :: Python :: 3.7'
    ],
    keywords=['earth observation', 'gis', 'remote sensing', 'landsat'],
    packages=find_packages(exclude=['docs', 'tests', 'notebooks']),
    install_requires=[
        'click',
        'appdirs',
        'requests',
        'fiona',
        'shapely',
        'pandas',
        'tqdm',
        'numpy',
        'rasterio',
        'geopy'
    ],
    include_package_data=True,
    entry_points="""
        [console_scripts]
        pylandsat=pylandsat.cli:cli
    """,
)
