-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpyproject.toml
52 lines (43 loc) · 1.43 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
45
46
47
48
49
50
51
52
[project]
name = "flask-wiki"
version = "0.3.1"
description = "Simple file-based wiki for Flask"
readme = "README.md"
authors = [{name = "RERO+", email = "<[email protected]>"}]
license = "BSD-3-Clause"
requires-python = ">= 3.9,<3.10"
dependencies = [
"bootstrap-flask",
"Flask (<3.0.0)",
"flask-wtf",
"babel (>=2.9.1)",
"flask-babel (>=3.0.0)",
"wtforms (<3.0.0)",
"werkzeug (>=0.15)",
"jinja2 (>=3.0.0)",
"markdown (<3.4.0)",
"pytest (<8.0.0)",
"py (<2.0.0)",
"whoosh (<3.0.0)",
"beautifulsoup4 (<5.0.0)",
"click (<9.0.0)",
"pytest-black (>=0.6.0,<0.7.0)",
]
[tool.poetry.group.dev.dependencies]
check-manifest = "*"
ipython = "*"
autopep8 = "*"
poethepoet = "*"
black = "*"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.requires-plugins]
poetry-plugin-shell = ">=1.0.1,<2.0.0"
[project.entry-points."flask.commands"]
flask_wiki = "flask_wiki.cli:flask_wiki"
[tool.poe.tasks]
extract_messages = "pybabel extract --project Flask-Wiki -F babel.cfg -k gettext -k lazy_gettext -o flask_wiki/translations/messages.pot flask_wiki"
init_catalog = "pybabel init -i flask_wiki/translations/messages.pot -d flask_wiki/translations -l"
compile_catalog = "pybabel compile -d flask_wiki/translations"
update_catalog = "pybabel update -i flask_wiki/translations/messages.pot -d flask_wiki/translations --no-fuzzy-matching --ignore-obsolete true"