forked from jacobsvante/fastapi-caching
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
72 lines (65 loc) · 2.27 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
72
import os.path
from setuptools import find_packages, setup
install_requires = ["fastapi", "cachetools"]
extras_require = {
"redis": ["aioredis"],
"examples": [
"uvicorn==0.11.5", # Logging issues with newer versions
"databases[sqlite]",
],
"test": [
"pytest>=5.4.0",
"pytest-cov",
"pytest-asyncio",
"requests",
"httpx",
"fakeredis",
"lupa",
],
"dev": ["black", "isort", "watchgod>=0.6,<0.7"],
}
extras_require["all"] = [
dep for _, dependencies in extras_require.items() for dep in dependencies
]
this_directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_directory, "README.md"), encoding="utf-8") as f:
long_description = f.read()
setup(
name="fastapi-caching",
version="0.3.0",
description="Cache library for FastAPI with tag based invalidation",
url="https://github.com/jmagnusson/fastapi-caching",
author="Jacob Magnusson",
author_email="[email protected]",
long_description=long_description,
long_description_content_type="text/markdown",
license="MIT",
packages=find_packages(".", include=["fastapi_caching"]),
python_requires=">=3.6",
zip_safe=False,
package_data={"fastapi_caching": ["py.typed"]},
install_requires=install_requires,
extras_require=extras_require,
classifiers=[
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python",
"Topic :: Internet",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development",
"Typing :: Typed",
"Development Status :: 2 - Pre-Alpha",
"Environment :: Web Environment",
"Framework :: AsyncIO",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Internet :: WWW/HTTP",
],
)