-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
79 lines (69 loc) · 1.99 KB
/
pyproject.toml
File metadata and controls
79 lines (69 loc) · 1.99 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
requires-python = ">=3.6"
name = "minisbd"
description = "Free and open source library for fast sentence boundary detection"
version = "0.9.5"
readme = "README.md"
license = { file = "LICENSE" }
authors = [
{ name = "Piero Toffanin", email = "pt@masseranolabs.com" },
{ name = "LibreTranslate Authors" },
]
maintainers = [
{ name = "Piero Toffanin", email = "pt@masseranolabs.com" },
{ name = "LibreTranslate Authors" },
]
keywords = [
"Python",
"sentence-boundary-detection",
"sbd",
]
classifiers = [
"Operating System :: OS Independent",
"License :: OSI Approved :: GNU Affero General Public License v3",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"onnxruntime>=1.10.0",
"numpy>=1.19.5",
"filelock>=3.16.1",
]
[project.optional-dependencies]
test = [
"pytest >=7.2.0",
]
dev = [
"onnx>=1.20.0",
"stanza==1.10.1",
"onnxsim-prebuilt>=0.4.36.post1",
"wikipedia-api>=0.8.1"
]
[tool.hatch.build.targets.wheel]
packages = ["minisbd"]
[tool.hatch.build.targets.sdist]
packages = ["minisbd"]
[project.urls]
Homepage = "https://github.com/LibreTranslate/MiniSBD"
Source = "https://github.com/LibreTranslate/MiniSBD"
Documentation = "https://github.com/LibreTranslate/MiniSBD"
Tracker = "https://github.com/LibreTranslate/MiniSBD/issues"
History = "https://github.com/LibreTranslate/MiniSBD/releases"
[tool.hatch.envs.default]
features = [
"test",
]
[tool.hatch.envs.default.scripts]
test = "pytest {args}"
[[tool.hatch.envs.all.matrix]]
python = ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]