forked from developmentseed/eoAPI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
38 lines (32 loc) · 1.61 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
"""Setup stac_tiler.stac."""
from setuptools import find_namespace_packages, setup
with open("README.md") as f:
long_description = f.read()
inst_reqs = [
# "stac-fastapi.api~=2.3",
# "stac-fastapi.types~=2.3",
# "stac-fastapi.extensions~=2.3",
# "stac-fastapi.pgstac~=2.3",
# We use unreleased stac-fastapi which has a better fastapi requirement definition (fix geojson-pydantic and starlette issues)
"stac-fastapi.api @ git+https://github.com/stac-utils/stac-fastapi/@81015a153c1d9f36d8e12f17a1bf67370396f472#egg=stac-fastapi.api&subdirectory=stac_fastapi/api",
"stac-fastapi.extensions @ git+https://github.com/stac-utils/stac-fastapi/@81015a153c1d9f36d8e12f17a1bf67370396f472#egg=stac-fastapi.extensions&subdirectory=stac_fastapi/extensions",
"stac-fastapi.pgstac @ git+https://github.com/stac-utils/stac-fastapi/@81015a153c1d9f36d8e12f17a1bf67370396f472#egg=stac-fastapi.pgstac&subdirectory=stac_fastapi/pgstac",
"stac-fastapi.types @ git+https://github.com/stac-utils/stac-fastapi/@81015a153c1d9f36d8e12f17a1bf67370396f472#egg=stac-fastapi.types&subdirectory=stac_fastapi/types",
"jinja2>=2.11.2,<4.0.0",
"starlette-cramjam>=0.1.0.a0,<0.2",
"importlib_resources>=1.1.0;python_version<'3.9'",
]
extra_reqs = {
"test": ["pytest", "pytest-cov", "pytest-asyncio", "requests"],
}
setup(
name="eoapi.stac",
description="",
python_requires=">=3.7",
packages=find_namespace_packages(exclude=["tests*"]),
package_data={"eoapi": ["stac/templates/*.html"]},
include_package_data=True,
zip_safe=False,
install_requires=inst_reqs,
extras_require=extra_reqs,
)