-
Notifications
You must be signed in to change notification settings - Fork 32
/
setup.py
executable file
·112 lines (105 loc) · 2.99 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
#!/usr/bin/env python3
import pathlib
from setuptools import find_packages, setup
HERE = pathlib.Path(__file__).parent.resolve()
README = (HERE / "README.md").read_text()
tests_require = [
"black",
"docutils",
"boltons",
"deepdiff",
"flake8",
"jsonschema >= 4.18",
"lxml_html_clean",
"pre-commit",
"pytest",
"pytest-benchmark",
"requests-html",
"blinker",
"prometheus-flask-exporter",
"sphinx_click",
"docker",
]
extras_require = {
"test": tests_require,
# These are all optional but nice to have on a real deployment
"deployment": [
# Performance
"ciso8601",
"bottleneck",
# The default run.sh and docs use gunicorn+meinheld
"gunicorn>=22.0.0",
"setproctitle",
"gevent",
# Monitoring
"blinker",
"prometheus-flask-exporter",
],
}
extras_require["test"].extend(extras_require["deployment"])
setup(
name="datacube-explorer",
description="Web-based exploration of Open Data Cube collections",
long_description=README,
long_description_content_type="text/markdown",
use_scm_version=True,
setup_requires=["setuptools_scm"],
python_requires=">=3.10",
url="https://github.com/opendatacube/datacube-explorer",
author="Geoscience Australia",
author_email="[email protected]",
license="Apache Software License 2.0",
packages=find_packages(exclude=("integration_tests",)),
project_urls={
"Bug Reports": "https://github.com/opendatacube/datacube-explorer/issues",
"Source": "https://github.com/opendatacube/datacube-explorer",
},
classifiers=[
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Operating System :: OS Independent",
],
include_package_data=True,
install_requires=[
"cachetools",
"click",
"datacube[postgres]>=1.9.0",
"eodatasets3>=1.9",
"fiona>=1.10.0",
"flask",
"Flask-Caching",
"flask-cors",
"flask-themer>=1.4.3",
"geoalchemy2>=0.8",
"geographiclib",
"jinja2",
"markupsafe",
"pyorbital",
"pyproj",
"pystac",
"python-dateutil",
"orjson>=3",
"sentry-sdk[flask]",
"shapely",
"simplekml",
"sqlalchemy>=1.4",
"structlog>=20.2.0",
"pytz",
"odc-geo",
"pygeofilter>=0.2.2",
],
tests_require=tests_require,
extras_require=extras_require,
entry_points={
"console_scripts": [
"cubedash-gen = cubedash.generate:cli",
"cubedash-view = cubedash.summary.show:cli",
"cubedash-run = cubedash.run:cli",
"cubedash-page-test = cubedash.warmup:cli",
]
},
)