Skip to content

Commit 27772c6

Browse files
committed
First commit
0 parents  commit 27772c6

File tree

1 file changed

+78
-0
lines changed

1 file changed

+78
-0
lines changed

pyproject.toml

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
[build-system]
2+
requires = ["hatchling"]
3+
build-backend = "hatchling.build"
4+
5+
[project]
6+
requires-python = ">=3.6"
7+
name = "minisbd"
8+
description = "Free and open source library for fast sentence boundary detection"
9+
version = "0.9.0"
10+
readme = "README.md"
11+
license = { file = "LICENSE" }
12+
authors = [
13+
{ name = "Piero Toffanin", email = "pt@masseranolabs.com" },
14+
{ name = "LibreTranslate Authors" },
15+
]
16+
maintainers = [
17+
{ name = "Piero Toffanin", email = "pt@masseranolabs.com" },
18+
{ name = "LibreTranslate Authors" },
19+
]
20+
keywords = [
21+
"Python",
22+
"sentence-boundary-detection",
23+
"sbd",
24+
25+
]
26+
classifiers = [
27+
"Operating System :: OS Independent",
28+
"License :: OSI Approved :: GNU Affero General Public License v3",
29+
"Programming Language :: Python :: 3",
30+
"Programming Language :: Python :: 3.6",
31+
"Programming Language :: Python :: 3.7",
32+
"Programming Language :: Python :: 3.8",
33+
"Programming Language :: Python :: 3.9",
34+
"Programming Language :: Python :: 3.10",
35+
"Programming Language :: Python :: 3.11",
36+
"Programming Language :: Python :: 3.12",
37+
"Programming Language :: Python :: 3.13",
38+
]
39+
40+
dependencies = [
41+
"onnxruntime>=1.10.0",
42+
]
43+
44+
// [project.scripts]
45+
// minisbd = "minisbd.scripts.main:main"
46+
47+
[project.optional-dependencies]
48+
test = [
49+
"pytest >=7.2.0",
50+
]
51+
dev = [
52+
"onnx>=1.20.0",
53+
"stanza==1.10.1"
54+
]
55+
56+
[tool.hatch.build.targets.wheel]
57+
packages = ["minisbd"]
58+
59+
[tool.hatch.build.targets.sdist]
60+
packages = ["minisbd"]
61+
62+
[project.urls]
63+
Homepage = "https://github.com/LibreTranslate/MiniSBD"
64+
Source = "https://github.com/LibreTranslate/MiniSBD"
65+
Documentation = "https://github.com/LibreTranslate/MiniSBD"
66+
Tracker = "https://github.com/LibreTranslate/MiniSBD/issues"
67+
History = "https://github.com/LibreTranslate/MiniSBD/releases"
68+
69+
[tool.hatch.envs.default]
70+
features = [
71+
"test",
72+
]
73+
74+
[tool.hatch.envs.default.scripts]
75+
test = "pytest {args}"
76+
77+
[[tool.hatch.envs.all.matrix]]
78+
python = ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]

0 commit comments

Comments
 (0)