-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathsetup.py
43 lines (39 loc) · 1.1 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
"""Setup for pccommon."""
from setuptools import find_packages, setup
# Runtime requirements.
inst_reqs = [
"fastapi-slim==0.111.0",
"starlette>=0.37.2,<0.41.0",
"opencensus-ext-azure==1.1.13",
"opencensus-ext-logging==0.1.1",
"orjson>=3.10.4",
"azure-identity==1.16.1",
"azure-data-tables==12.5.0",
"azure-storage-blob>=12.20.0",
"pydantic>=2.7,<2.8.0",
"pydantic-settings>=2.3,<2.4",
"cachetools~=5.3",
"types-cachetools==4.2.9",
"pyhumps==3.5.3",
"redis==4.6.0",
"requests==2.32.3",
"idna>=3.7.0",
"html-sanitizer==2.4.4",
# Soon available as lxml[html_clean]
"lxml_html_clean==0.1.0",
"urllib3>=2.2.2",
]
extra_reqs = {
"dev": ["pytest", "pytest-asyncio", "types-redis", "types-requests"],
}
setup(
name="pccommon",
python_requires=">=3.7",
description="Planetary Computer API - Common.",
packages=find_packages(exclude=["tests"]),
include_package_data=True,
zip_safe=False,
install_requires=inst_reqs,
extras_require=extra_reqs,
entry_points={"console_scripts": ["pcapis=pccommon.cli:cli"]},
)