forked from stac-utils/titiler-pgstac
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
55 lines (50 loc) · 1.66 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
"""Setup titiler.pgstac."""
from setuptools import find_namespace_packages, setup
with open("README.md") as f:
long_description = f.read()
inst_reqs = [
"titiler.core>=0.7,<0.8",
"titiler.mosaic>=0.7,<0.8",
"geojson-pydantic>=0.4,<0.5",
"stac-pydantic==2.0.*",
]
extra_reqs = {
"dev": ["pre-commit"],
"test": [
"pytest",
"pytest-cov",
"pytest-asyncio<0.18.0",
"httpx",
"pypgstac>=0.6,<0.7",
"asyncpg",
],
# 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
}
setup(
name="titiler.pgstac",
description="Connect PgSTAC and TiTiler",
long_description=long_description,
long_description_content_type="text/markdown",
python_requires=">=3.7",
classifiers=[
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
keywords="COG STAC MosaicJSON FastAPI PgSTAC",
author="Vincent Sarago",
author_email="[email protected]",
url="https://github.com/stac-utils/titiler-pgstac",
license="MIT",
packages=find_namespace_packages(exclude=["tests*"]),
include_package_data=True,
zip_safe=False,
install_requires=inst_reqs,
extras_require=extra_reqs,
)