1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83
|
"""asf_search setuptools configuration"""
from setuptools import find_packages, setup
requirements = [
'requests',
'shapely',
'pytz',
'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',
]
# Required for ARIA-S1 GUNW Stacking
asf_enumeration = [
'asf-enumeration>=0.4.0'
]
# Required for optional Sentinel-1 Pair coherence estimation
coherence = [
'pandas',
'zarr',
's3fs',
'rioxarray',
]
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.10',
install_requires=requirements,
extras_require={'test': test_requirements, 'extras': extra_requirements, 'asf-enumeration': asf_enumeration, 'coherence': coherence},
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.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',
],
)
|