-
Notifications
You must be signed in to change notification settings - Fork 101
Expand file tree
/
Copy pathpyproject.toml
More file actions
57 lines (50 loc) · 1.39 KB
/
pyproject.toml
File metadata and controls
57 lines (50 loc) · 1.39 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
[build-system]
requires = ["setuptools>=45", "wheel", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "WeTextProcessing"
authors = [
{name = "Zhendong Peng", email = "pzd17@tsinghua.org.cn"},
{name = "Xingchen Song", email = "sxc19@tsinghua.org.cn"}
]
description = "WeTextProcessing, including TN & ITN"
readme = "README.md"
requires-python = ">=3.7"
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dynamic = ["version"]
dependencies = [
# Core dependencies for text processing functionality
"pynini>=2.1.6,<2.1.7",
"importlib_resources"
]
[project.urls]
Homepage = "https://github.com/wenet-e2e/WeTextProcessing"
[project.scripts]
wetn = "tn.main:main"
weitn = "itn.main:main"
[project.optional-dependencies]
test = [
"pytest",
"flake8"]
dev = [
# Development tools
"flake8",
"pre-commit==3.5.0",
"pytest"
]
[tool.setuptools_scm]
version_scheme = "guess-next-dev"
local_scheme = "dirty-tag"
write_to = "tn/_version.py"
fallback_version = "1.0.5"
[tool.setuptools.packages.find]
where = ["."]
include = ["tn*", "itn*"]
namespaces = false
[tool.setuptools.package-data]
tn = ["*.fst", "chinese/data/*/*.tsv", "english/data/*/*.tsv", "english/data/*.tsv", "english/data/*/*.far"]
itn = ["*.fst", "chinese/data/*/*.tsv"]