-
Notifications
You must be signed in to change notification settings - Fork 27
/
setup.py
68 lines (62 loc) · 1.84 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
65
66
67
68
"""stac_fastapi: pgstac module."""
from setuptools import find_namespace_packages, setup
with open("README.md") as f:
desc = f.read()
install_requires = [
"attrs",
"orjson",
"pydantic",
"stac_pydantic==3.1.*",
"stac-fastapi.api~=3.0.2",
"stac-fastapi.extensions~=3.0.2",
"stac-fastapi.types~=3.0.2",
"asyncpg",
"buildpg",
"brotli_asgi",
"pygeofilter>=0.2",
"pypgstac>=0.8,<0.10",
]
extra_reqs = {
"dev": [
"pystac[validation]",
"pypgstac[psycopg]==0.9.*",
"pytest-postgresql",
"pytest",
"pytest-cov",
"pytest-asyncio>=0.17,<0.25.0",
"pre-commit",
"requests",
"shapely",
"httpx",
"twine",
"wheel",
],
"docs": ["mkdocs", "mkdocs-material", "pdocs"],
"server": ["uvicorn[standard]==0.32.0"],
"awslambda": ["mangum"],
}
setup(
name="stac-fastapi.pgstac",
description="An implementation of STAC API based on the FastAPI framework and using the pgstac backend.",
long_description=desc,
long_description_content_type="text/markdown",
python_requires=">=3.8",
classifiers=[
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3.8",
"License :: OSI Approved :: MIT License",
],
keywords="STAC FastAPI COG",
author="David Bitner",
author_email="david@developmentseed.org",
url="https://github.com/stac-utils/stac-fastapi",
license="MIT",
packages=find_namespace_packages(exclude=["tests", "scripts"]),
zip_safe=False,
install_requires=install_requires,
tests_require=extra_reqs["dev"],
extras_require=extra_reqs,
entry_points={"console_scripts": ["stac-fastapi-pgstac=stac_fastapi.pgstac.app:run"]},
)