-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
91 lines (84 loc) · 2.17 KB
/
pyproject.toml
File metadata and controls
91 lines (84 loc) · 2.17 KB
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "mathcraft-ocr"
version = "0.2.2"
description = "ONNX-only OCR runtime for mathematical documents"
readme = "README_MATHCRAFT_OCR.md"
requires-python = ">=3.10"
license = "MIT"
license-files = ["LICENSE"]
authors = [
{ name = "SakuraMathcraft" }
]
keywords = [
"ocr",
"latex",
"math",
"onnx",
"document-ocr",
"formula-recognition"
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Image Recognition",
"Topic :: Text Processing"
]
dependencies = [
"numpy>=1.26,<3",
"pillow>=10,<12",
"opencv-python>=4.10,<5",
"rapidocr==3.5.0",
"transformers==4.55.4",
"tokenizers==0.21.4",
]
[project.optional-dependencies]
cpu = [
"onnxruntime>=1.19.2,<1.26; python_version < '3.13'",
"onnxruntime>=1.20,<1.26; python_version >= '3.13'",
]
gpu = [
"onnxruntime-gpu>=1.19.2,<1.26; python_version < '3.13'",
"onnxruntime-gpu>=1.20,<1.26; python_version >= '3.13'",
]
dev = [
"ruff>=0.8",
"build>=1.2",
"twine>=5.0",
]
pandoc = [
"pypandoc>=1.15",
]
[project.urls]
Homepage = "https://github.com/SakuraMathcraft/LaTeXSnipper"
Models = "https://github.com/SakuraMathcraft/MathCraft-Models"
Issues = "https://github.com/SakuraMathcraft/LaTeXSnipper/issues"
[project.scripts]
mathcraft = "mathcraft_ocr.cli:main"
mathcraft-ocr = "mathcraft_ocr.cli:main"
[tool.setuptools.packages.find]
include = ["mathcraft_ocr*"]
exclude = ["src*", "test*", "scripts*", "docs*", "release_assets*", "build*", "dist*"]
[tool.setuptools.package-data]
mathcraft_ocr = ["manifests/*.json"]
[tool.vulture]
paths = ["src"]
exclude = [
"build/",
"python311/",
"src/deps/python311/",
"src/get-pip.py"
]
min_confidence = 70
sort_by_size = true