-
-
Notifications
You must be signed in to change notification settings - Fork 39
/
pyproject.toml
98 lines (91 loc) · 2.72 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
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
92
93
94
95
96
97
98
[build-system]
requires = ["setuptools >= 70.0.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "pycantonese"
version = "3.4.0"
description = "Cantonese Linguistics and NLP in Python"
readme = "README.rst"
requires-python = ">= 3.8"
license = { text = "MIT License" }
authors = [ { name = "Jackson L. Lee", email = "[email protected]" } ]
keywords = [
"computational linguistics",
"natural language processing",
"NLP",
"Cantonese",
"linguistics",
"corpora",
"speech",
"language",
"Chinese",
"Jyutping",
]
dependencies = [
'pylangacq >= 0.17.0',
'wordseg >= 0.0.4',
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Natural Language :: Chinese (Traditional)",
"Natural Language :: Cantonese",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"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",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Human Machine Interfaces",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Text Processing",
"Topic :: Text Processing :: General",
"Topic :: Text Processing :: Indexing",
"Topic :: Text Processing :: Linguistic",
]
[project.urls]
Homepage = "https://pycantonese.org"
Source = "https://github.com/jacksonllee/pycantonese"
[project.optional-dependencies]
dev = [
"black == 24.4.2",
"build == 1.2.1",
"flake8 == 7.0.0",
"pytest == 8.2.0",
"requests == 2.32.1",
"sybil == 6.1.1",
"twine == 5.0.0",
]
docs = [
"m2r2 == 0.3.2",
"numpydoc == 1.7.0",
"Sphinx == 7.3.7",
"sphinx-copybutton == 0.5.2",
"sphinx-rtd-theme == 2.0.0",
"sphinx-sitemap == 2.6.0",
]
[tool.setuptools]
zip-safe = false
package-dir = { "" = "src" }
[tool.setuptools.packages.find]
where = [ "src" ]
[tool.setuptools.package-data]
pycantonese = [
"data/hkcancor/*",
"data/rime_cantonese/*",
"pos_tagging/*.json",
]
[tool.pytest.ini_options]
# Adding -p no:doctest to disable pytest's own doctest,
# which may interfere with Sybil's doctest parsers.
addopts = "-vv --strict-markers -p no:doctest --doctest-modules"
testpaths = ["tests", "docs"]