forked from openaq/openaq-api-v2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
71 lines (70 loc) · 1.56 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
69
70
71
from distutils.core import setup
setup(
name="openaq_api",
version="0.0.1",
author="David Bitner",
author_email="[email protected]",
packages=[
"openaq_api",
"openaq_api.ingest",
"openaq_api.models",
"openaq_api.routers",
"openaq_api.templates",
],
url="http://openaq.org/",
license="LICENSE.txt",
description="FastAPI API For OpenAQ",
long_description=open("README.md").read(),
install_requires=[
"fastapi",
"mangum>=0.1.0",
"fastapi-utils",
"wheel",
"pypika",
"asyncpg",
"pydantic[dotenv]",
"buildpg",
"aiocache",
"jq",
"orjson",
"uvicorn",
"msgpack",
"asyncpg",
"uvicorn",
"jinja2",
"typer",
"markdown",
"psycopg2-binary",
"boto3",
"pytz",
"dateparser",
"pyhumps",
"ujson",
"redis",
],
extras_require={
"dev": [
"black",
"flake8",
"pytest",
"requests<2.28, >=2.22",
"schemathesis>3",
"hypothesis>6",
]
},
entry_points={
"console_scripts": [
"openaqapi=openaq_api.main:run",
"openaqfetch=openaq_api.ingest.fetch:app",
]
},
include_package_data=True,
package_data={
"": ["*.sql"],
},
data_files=[
"openaq_api/static/index.html",
"openaq_api/static/favicon.png",
"openaq_api/static/openaq-logo.svg",
],
)