-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
64 lines (58 loc) · 1.76 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
"""Setup cbers-2-stac."""
from setuptools import find_packages, setup
with open("README.md", encoding="utf-8") as f:
long_description = f.read()
inst_reqs = [
"boto3",
"jsonschema",
]
extra_reqs = {
"dev": ["awscli", "awscli-local",],
"test": [
"pydantic[dotenv]",
"importlib-metadata<2,>=0.12", # This is required by tox 3.2.0
"pytest",
"pytest-cov",
"pre-commit",
"pylint",
"pystac[validation]==0.5.6",
"tox",
"docker",
"retry",
# The packages below are used by lambdas and need to be installed locally
# for testing to work
# Used in elasticsearch lambda. This needs to be <7.14.0 to avoid the
# "The client noticed that the server is not a supported distribution of Elasticsearch"
# error message.
"elasticsearch>=7.0.0,<7.14.0",
"elasticsearch-dsl>=7.0.0,<8.0.0",
"aws-requests-auth",
# Used in process_new_scene_queue lambda.
"utm",
],
"deploy": [
"pydantic[dotenv]<=1.9.1",
"aws-cdk-lib>=2.129.0",
"constructs>=10.0.0",
],
}
ENTRY_POINTS = """
[console_scripts]
cb2stac-redrive-sqs=utils.redrive_sqs_queue:main
"""
setup(
name="cbers-2-stac",
version="0.0.0",
description="STAC service for CBERS and Amazonia data on AWS",
long_description=long_description,
long_description_content_type="text/markdown",
python_requires="==3.9.13",
author="Frederico Liporace (AMS Kepler)",
author_email="[email protected]",
url="https://github.com/fredliporace/cbers-2-stac",
packages=find_packages(exclude=["tests*"]),
zip_safe=False,
install_requires=inst_reqs,
extras_require=extra_reqs,
entry_points=ENTRY_POINTS,
)