-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
44 lines (39 loc) · 1.03 KB
/
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
39
40
41
42
43
44
[tool.poetry]
name = "pytaku"
version = "0.7.1"
description = "Self-hostable web-based manga reader"
authors = ["Bùi Thành Nhân <[email protected]>"]
license = "AGPL-3.0-only"
readme = "README.md"
packages = [
{ include = "pytaku", from = "src" },
{ include = "mangoapi", from = "src" },
]
# Compiled js bundle dir is in gitignore, which poetry also reads.
# Therefore, it needs to be specifically whitelisted here:
include = ["src/pytaku/static/js/*"]
[tool.poetry.scripts]
pytaku = "pytaku:serve"
pytaku-dev = "pytaku:dev"
pytaku-migrate = "pytaku:migrate"
pytaku-generate-config = "pytaku:generate_config"
pytaku-scheduler = "pytaku:scheduler"
pytaku-collect-static = "pytaku:collect_static"
[tool.poetry.dependencies]
python = "^3.7"
flask = "^2"
gunicorn = "^23"
requests = "^2"
goodconf = "^1"
argon2-cffi = "^21"
bbcode = "^1"
apsw = "^3"
[tool.poetry.group.dev.dependencies]
pytest = "*"
ipdb = "*"
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
[tool.black]
line-length = 88
target-version = ['py37']