-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
75 lines (64 loc) · 1.74 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
# The project name "lute" is already taken on PyPi,
# so project.name = lute3 for the publish, but the
# code is in the "lute" folder.
[tool.flit.module]
name = "lute"
[tool.pdm]
[project]
name = "lute3"
dynamic = ['version']
description = "Learning Using Texts"
requires-python = ">=3.11"
authors = [{ name = "Jeff Zohrab", email = "[email protected]" }]
readme = "README_PyPi.md"
dependencies = [
"Flask-SQLAlchemy>=3.1.1,<4",
"Flask-WTF>=1.2.1,<2",
"natto-py>=1.0.1,<2",
"jaconv>=0.3.4,<1",
"platformdirs>=3.10.0,<4",
"requests>=2.31.0,<3",
"beautifulsoup4>=4.12.2,<5",
"PyYAML>=6.0.1,<7",
"toml>=0.10.2,<1",
"waitress>=2.1.2,<3",
"openepub>=0.0.8,<1",
"pypdf>=3.17.4",
"subtitle-parser>=1.3.0",
"fugashi>=1.3.2",
"unidic-lite>=1.0.8",
"mdict-query @ git+https://github.com/fanyingfx/mdict-query.git@master",
"spacy>=3.7.4",
"en-core-web-sm @ https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.7.1/en_core_web_sm-3.7.1-py3-none-any.whl",
]
[project.scripts]
lute = "lute.main:start"
[tool.pdm.scripts]
test = "inv test"
lute = "python -m lute.main"
dev = "python devstart.py"
full = "inv full"
accept = "inv accept"
lint = "inv lint"
[project.optional-dependencies]
dev = [
"coverage>=7.3.1,<8",
"invoke>=2.2.0,<3",
"pip>=23.0.1",
"pipdeptree>=2.13.0,<3",
"pylint>=2.17.5,<3",
"pytest-bdd>=7.0.0,<8",
"pytest-splinter>=3.3.2,<4",
"pre-commit>=3.5.0,<4",
"black>=23.10.1,<24",
"playwright>=1.43.0",
"djlint>=1.34.1",
"ruff>=0.4.3",
"ipdb>=0.13.13",
"pudb>=2024.1",
]
[project.urls]
Home = "https://github.com/luteorg/lute-v3"