forked from centreborelli/tsd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
54 lines (47 loc) · 1.47 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
import os
from codecs import open
from setuptools import setup
here = os.path.abspath(os.path.dirname(__file__))
package = "tsd"
about = {}
with open(os.path.join(here, package, "__about__.py"), "r", "utf-8") as f:
exec(f.read(), about)
def readme():
with open(os.path.join(here, 'README.md'), 'r', 'utf-8') as f:
return f.read()
requirements = ['boto3',
'bs4',
'geojson',
'lxml',
'numpy>=1.12',
'pyproj',
'python-dateutil',
'rasterio[s3]>=1.0',
'requests',
'sat-search>=0.3.0',
'shapely',
'tqdm',
'utm',
'xmltodict']
setup(name=about["__title__"],
version=about["__version__"],
description=about["__description__"],
long_description=readme(),
long_description_content_type='text/markdown',
url=about["__url__"],
author=about["__author__"],
author_email=about["__author_email__"],
packages=[package],
package_data={'': ['s2_mgrs_grid.txt']},
include_package_data=True,
install_requires=requirements,
extras_require={
"gcp": ["google-auth", "google-cloud-bigquery", "pandas"],
"planet": ["area", "planet", "rpcm"],
"sentinelhub": ["sentinelhub"]
},
entry_points="""
[console_scripts]
tsd=tsd.get:main
""",
python_requires=">=3.5")