-
Notifications
You must be signed in to change notification settings - Fork 7
/
pyproject.toml
48 lines (41 loc) · 1.22 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
[tool.poetry]
name = "CeleryMath"
version = "0.3.0"
description = "A LaTex Equation OCR Tool Based on ConvNeXt and Transformer"
authors = ["rainyl <[email protected]>"]
license = "GPL-3.0"
[tool.poetry.dependencies]
python = ">=3.9,<3.12"
numpy = "^1.26.0"
Pillow = "^10.0.1"
onnxruntime = "^1.16.0"
tokenizers = "^0.13.3"
PySide6 = "^6.5.2"
pynput = "^1.7.6"
coloredlogs = "^15.0.1"
onnxruntime-gpu = "^1.16.0"
toml = "^0.10.2"
ziamath = "^0.8.1"
pyhotkey = "^1.5.0"
[tool.poetry.group.dev.dependencies]
Nuitka = "^1.8.3"
black = "^23.9.1"
poethepoet = "^0.21.1"
py7zr = "^0.20.6"
pytest = "^7.4.2"
[tool.poe.tasks]
run = "python ./CeleryMathGui.py"
build = """python ./build.py"""
designer = "pyside6-designer.exe "
rcc = "pyside6-rcc -o CeleryMath_rc.py resources/CeleryMath.qrc"
[tool.poe.tasks.uic]
sequence = [
{ cmd = "pyside6-uic -o CeleryMath/CeleryMathUI.py resources/ui/CeleryMathUI.ui" },
{ cmd = "pyside6-uic -o CeleryMath/widgets/CTexLineWidgetUI.py resources/ui/CTexLine.ui" },
{ cmd = "pyside6-uic -o CeleryMath/widgets/CDialogSettingsUI.py resources/ui/CDialogSettingsUI.ui" },
]
[tool.ruff]
ignore = ["E501", "F401"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"