]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
:heavy_plus_sign: Add extra dependencies to Flit
authorSebastián Ramírez <tiangolo@gmail.com>
Sun, 9 Dec 2018 15:27:05 +0000 (19:27 +0400)
committerSebastián Ramírez <tiangolo@gmail.com>
Sun, 9 Dec 2018 15:27:05 +0000 (19:27 +0400)
pyproject.toml

index 16675632298b0fe30ace82cc80983a8d1b7acfa5..90ec749be0a817ee627cd175882d41483e2c5c93 100644 (file)
@@ -13,3 +13,39 @@ requires = [
     "pydantic >=0.16"
 ]
 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",
+]