"""asf_search setuptools configuration"""

from setuptools import find_packages, setup

requirements = [
    'requests',
    'shapely',
    'pytz',
    'importlib_metadata',
    'numpy',
    'dateparser',
    'python-dateutil',
    'tenacity == 8.2.2',
]

test_requirements = [
    'pytest==8.1.1',
    'pytest-automation==3.0.0',
    'pytest-cov',
    'pytest-xdist',
    'coverage',
    'requests-mock==1.11.0',
    'nbformat',
    'nbconvert',
    'ipykernel',
]

extra_requirements = [
    'remotezip>=0.10.0',
    'ciso8601',
]


with open('README.md', 'r') as readme_file:
    readme = readme_file.read()

setup(
    name='asf_search',
    # version=Declared in pyproject.toml, through "[tool.setuptools_scm]"
    author='Alaska Satellite Facility Discovery Team',
    author_email='uaf-asf-discovery@alaska.edu',
    description="Python wrapper for ASF's SearchAPI",
    long_description=readme,
    long_description_content_type='text/markdown',
    url='https://github.com/asfadmin/Discovery-asf_search.git',
    project_urls={'Documentation': 'https://docs.asf.alaska.edu/asf_search/basics/'},
    packages=find_packages(exclude=['tests.*', 'tests', 'examples.*', 'examples']),
    package_dir={'asf_search': 'asf_search'},
    include_package_data=True,
    python_requires='>=3.9',
    install_requires=requirements,
    extras_require={'test': test_requirements, 'extras': extra_requirements},
    license='BSD',
    license_files=('LICENSE',),
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Intended Audience :: Developers',
        'Intended Audience :: Science/Research',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3 :: Only',
        'Programming Language :: Python :: 3.9',
        'Programming Language :: Python :: 3.10',
        'Programming Language :: Python :: 3.11',
        'Programming Language :: Python :: 3.12',
        'Topic :: Software Development',
        'Topic :: Scientific/Engineering :: Atmospheric Science',
        'Topic :: Scientific/Engineering :: GIS',
        'Topic :: Scientific/Engineering :: Hydrology',
        'Topic :: Utilities',
    ],
)
