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_description = f.read()

setup(
    name='landsatxplore',
    version='0.7',
    description='Search and download Landsat scenes from EarthExplorer.',
    long_description=long_description,
    long_description_content_type='text/markdown',
    url='https://github.com/yannforget/landsatxplore',
    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.4',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
    ],
    keywords=['earth observation', 'remote sensing', 'satellite imagery', 'landsat'],
    packages=find_packages(exclude=['contrib', 'docs', 'tests']),
    install_requires=[
        'requests',
        'tqdm',
        'click'
    ],
    include_package_data=True,
    zip_safe=False,
    entry_points="""
        [console_scripts]
        landsatxplore=landsatxplore.cli:cli
    """,
)
