-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathsetup.py
67 lines (61 loc) · 1.77 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
"""stac_fastapi: sqlalchemy module."""
from setuptools import find_namespace_packages, setup
with open("README.md") as f:
desc = f.read()
install_requires = [
"attrs",
"pydantic[dotenv]",
"stac_pydantic>=2.0.3",
"stac-fastapi.types",
"stac-fastapi.api",
"stac-fastapi.extensions",
"sqlakeyset",
"geoalchemy2<0.14.0",
"sqlalchemy==1.3.23",
"shapely",
"psycopg2-binary",
"alembic",
"fastapi-utils",
]
extra_reqs = {
"dev": [
"httpx", # for starlette's test client
"orjson",
"pystac[validation]",
"pytest",
"pytest-cov",
"pre-commit",
"requests",
"twine",
"wheel",
],
"docs": ["mkdocs", "mkdocs-material", "pdocs"],
"server": ["uvicorn[standard]==0.19.0"],
}
setup(
name="stac-fastapi.sqlalchemy",
description="An implementation of STAC API based on the FastAPI framework.",
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="Arturo Engineering",
author_email="[email protected]",
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-sqlalchemy=stac_fastapi.sqlalchemy.app:run"]
},
)