-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathsetup.py
43 lines (35 loc) · 921 Bytes
/
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 pctiler."""
from setuptools import find_packages, setup
# Runtime requirements.
inst_reqs = [
"geojson-pydantic==0.4.2",
"jinja2==3.0.3",
"pystac==1.*",
"planetary-computer==0.4.*",
"rasterio==1.3.*",
"titiler.core==0.10.2",
"titiler.mosaic==0.10.2",
# titiler-pgstac
"psycopg[binary,pool]",
"titiler.pgstac==0.2.2",
# colormap dependencies
"matplotlib==3.4.*",
"importlib_resources>=1.1.0;python_version<'3.9'",
"pccommon",
]
extra_reqs = {
"server": [
"uvicorn[standard]>=0.17.0,<0.18.0",
],
}
setup(
name="pctiler",
python_requires=">=3.7",
description="Planetary Computer API - Tiler.",
packages=find_packages(exclude=["tests"]),
package_data={"pctiler": ["endpoints/templates/*.html"]},
include_package_data=True,
zip_safe=False,
install_requires=inst_reqs,
extras_require=extra_reqs,
)