-
Notifications
You must be signed in to change notification settings - Fork 105
/
Copy pathsetup.py
64 lines (58 loc) · 1.69 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
"""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[dotenv]",
"stac_pydantic==2.0.*",
"stac-fastapi.types",
"stac-fastapi.api",
"stac-fastapi.extensions",
"asyncpg",
"buildpg",
"brotli_asgi",
]
extra_reqs = {
"dev": [
"pytest",
"pytest-cov",
"pytest-asyncio",
"pre-commit",
"requests",
"pypgstac==0.4.3",
"httpx",
"shapely",
],
"docs": ["mkdocs", "mkdocs-material", "pdocs"],
"server": ["uvicorn[standard]==0.17.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=u"David Bitner",
author_email="david@developmentseed.org",
url="https://github.com/stac-utils/stac-fastapi",
license="MIT",
packages=find_namespace_packages(exclude=["alembic", "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"]
},
)