-
Notifications
You must be signed in to change notification settings - Fork 88
/
Copy pathpyproject.toml
35 lines (32 loc) · 971 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
[project]
name = "blog"
version = "1.0"
description = ""
license = { text = "MIT" }
requires-python = ">=3.7,<4.0"
authors = [{ name = "laike9m", email = "[email protected]" }]
dependencies = [
"django<3.0.0,>=2.2.28",
# psycopg2 2.9 has issues, see https://stackoverflow.com/a/68025007/2142577
"psycopg2==2.8.6; sys_platform == \"linux\"",
"requests<3.0.0,>=2.22.0",
"django-taggit<2.0.0,>=1.2.0",
"unidecode<2.0.0,>=1.1.1",
"uwsgi<3.0.0,>=2.0.18",
"uwsgidecorators<2.0.0,>=1.1.0",
"markdown2<3.0.0,>=2.4.8",
"python-dotenv>=0.21.1",
"django-extensions>=3.1.5",
]
[tool.pdm.build]
includes = []
[tool.pdm.scripts]
format = "djhtml css3two_blog/templates/ --tabwidth 2"
dev = "python manage.py runserver 0.0.0.0:8000"
pull = "git pull"
update_deps = "pdm update"
static = "python manage.py collectstatic --noinput"
update = { composite = ["pull", "update_deps", "static"] }
[build-system]
build-backend = "pdm.backend"
requires = ["pdm-backend"]