mirror of https://github.com/tiangolo/fastapi.git
➕ Add extra dependencies to Flit
This commit is contained in:
parent
07b3a330a3
commit
3ca9e52dac
|
|
@ -13,3 +13,39 @@ requires = [
|
||||||
"pydantic >=0.16"
|
"pydantic >=0.16"
|
||||||
]
|
]
|
||||||
requires-python = ">=3.6"
|
requires-python = ">=3.6"
|
||||||
|
|
||||||
|
[tool.flit.metadata.requires-extra]
|
||||||
|
test = [
|
||||||
|
"pytest >=4.0.0",
|
||||||
|
"pytest-cov",
|
||||||
|
"mypy",
|
||||||
|
"black",
|
||||||
|
"isort",
|
||||||
|
"requests"
|
||||||
|
]
|
||||||
|
doc = [
|
||||||
|
"mkdocs",
|
||||||
|
"mkdocs-material",
|
||||||
|
"markdown-include"
|
||||||
|
]
|
||||||
|
dev = [
|
||||||
|
"prospector",
|
||||||
|
"rope"
|
||||||
|
]
|
||||||
|
all = [
|
||||||
|
"requests",
|
||||||
|
"aiofiles",
|
||||||
|
"jinja2",
|
||||||
|
"python-multipart",
|
||||||
|
"graphene",
|
||||||
|
"itsdangerous",
|
||||||
|
"pyyaml",
|
||||||
|
"ujson",
|
||||||
|
"email_validator",
|
||||||
|
"starlette",
|
||||||
|
"pydantic",
|
||||||
|
"json",
|
||||||
|
"openapi",
|
||||||
|
"swagger",
|
||||||
|
"redoc",
|
||||||
|
]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue