-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.py
76 lines (70 loc) · 1.67 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#!/usr/bin/env python3
import os
from setuptools import find_packages, setup
# Where are we?
IS_SANDBOX = "sandbox" in os.getenv("JUPYTER_IMAGE", default="")
# What packages are required for this module to be executed?
REQUIRED = [
"aiohttp",
"affine",
"botocore",
"click",
"datacube",
"dea_tools",
"eodatasets3",
"fiona",
"geopandas",
"matplotlib",
"mdutils",
"numpy",
"odc-geo",
"odc-ui",
"odc-algo",
"pandas",
"pyproj",
"pyTMD>=2.0.0,<2.1.5",
"pytest",
"pytest-dependency",
"pytest-cov",
"pytz",
"rasterio",
"setuptools-scm",
"seaborn",
"sunriset",
"scikit-image",
"scikit-learn",
"scipy",
"shapely",
"tqdm",
"xarray",
"xskillscore",
]
# Package metadata
NAME = "dea_intertidal"
DESCRIPTION = "Tools for running Digital Earth Australia Intertidal"
URL = "https://github.com/GeoscienceAustralia/dea-intertidal"
EMAIL = "[email protected]"
AUTHOR = "Geoscience Australia"
REQUIRES_PYTHON = ">=3.8.0"
# Setup kwargs
setup_kwargs = {
"name": NAME,
"description": DESCRIPTION,
"long_description": DESCRIPTION,
"long_description_content_type": "text/markdown",
"author": AUTHOR,
"author_email": EMAIL,
"python_requires": REQUIRES_PYTHON,
"url": URL,
"install_requires": REQUIRED if not IS_SANDBOX else [],
"packages": find_packages(),
"include_package_data": True,
"license": "Apache License 2.0",
"entry_points": {
"console_scripts": [
"dea-intertidal = intertidal.elevation:intertidal_cli",
"dea-intertidal-hltc = intertidal.hltc:hltc_cli",
]
},
}
setup(**setup_kwargs)