-
Notifications
You must be signed in to change notification settings - Fork 27
/
pyproject.toml
38 lines (31 loc) · 836 Bytes
/
pyproject.toml
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
[tool.poetry]
name = "fastapi-django"
package-mode = false
version = "0.1.0"
# doc
authors = ["Weiliang Li <to.be.impressive@gmail.com>"]
description = "fastapi and django integration"
license = "MIT"
[tool.poetry.dependencies]
python = "^3.10"
# 3rd party
django = "^5.0"
fastapi = "^0.111.0"
pydantic = "^2.0.3"
uvicorn = "^0.30.0"
uvloop = {version = "^0.19.0", markers = 'sys_platform != "win32"'}
# optional
psycopg2-binary = "^2.9.5"
# you don't need whitenoise if you mount the django APP with FastAPI
whitenoise = "^6.2.0"
[tool.poetry.group.dev.dependencies]
django-stubs = {extras = ["compatible-mypy"], version = "^5.0"}
ipython = "^8.25.0"
mypy = "^1.10.0"
ruff = "^0.4.7"
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core>=1.0.0"]
[tool.isort]
multi_line_output = 3
profile = "black"