-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.py
36 lines (30 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
"""Setup veda.raster_api."""
from setuptools import find_namespace_packages, setup
with open("README.md") as f:
long_description = f.read()
inst_reqs = [
"titiler.pgstac==0.2.3",
"titiler.application>=0.10,<0.11",
"importlib_resources>=1.1.0;python_version<='3.9'", # https://github.com/cogeotiff/rio-tiler/pull/379
"aws_xray_sdk>=2.6.0,<3",
"aws-lambda-powertools>=1.18.0",
"pydantic<2",
]
extra_reqs = {
# https://www.psycopg.org/psycopg3/docs/api/pq.html#pq-module-implementations
"psycopg": ["psycopg[pool]"], # pure python implementation
"psycopg-c": ["psycopg[c,pool]"], # C implementation of the libpq wrapper
"psycopg-binary": ["psycopg[binary,pool]"], # pre-compiled C implementation
"test": ["pytest", "pytest-cov", "pytest-asyncio", "requests"],
}
setup(
name="veda.raster_api",
description="",
python_requires=">=3.7",
packages=find_namespace_packages(exclude=["tests*"]),
package_data={"src": ["templates/*.html"]},
include_package_data=True,
zip_safe=False,
install_requires=inst_reqs,
extras_require=extra_reqs,
)