forked from sentinelsat/sentinelsat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
55 lines (51 loc) · 1.78 KB
/
setup.py
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
import re
from io import open
from setuptools import find_packages, setup
# Get the long description from the relevant file
with open('README.rst', encoding='utf-8') as f:
long_description = f.read()
with open('sentinelsat/__init__.py', encoding='utf-8') as f:
version = re.search(r"__version__\s*=\s*'(\S+)'", f.read()).group(1)
setup(name='sentinelsat',
version=version,
description="Utility to search and download Copernicus Sentinel satellite images",
long_description=long_description,
classifiers=[
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Scientific/Engineering :: GIS',
'Topic :: Utilities',
],
keywords='copernicus, sentinel, esa, satellite, download, GIS',
author="Kersten Clauss",
author_email='[email protected]',
url='https://github.com/sentinelsat/sentinelsat',
license='GPLv3+',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
include_package_data=True,
zip_safe=False,
install_requires=open('requirements.txt').read().splitlines(),
extras_require={
'test': [
'pandas',
'geopandas',
'shapely',
'pytest',
'requests-mock',
'vcrpy',
'rstcheck'
],
'docs': [
'sphinx',
'numpydoc',
'sphinx_rtd_theme'
],
},
entry_points="""
[console_scripts]
sentinelsat=sentinelsat.scripts.cli:cli
"""
)