forked from felixonmars/fcitx5-pinyin-zhwiki
-
Notifications
You must be signed in to change notification settings - Fork 6
/
pyproject.toml
65 lines (58 loc) · 1.52 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
[tool.poetry]
authors = ["Outvi V <oss+pypi@outv.im>"]
classifiers = [
'Topic :: Software Development :: Libraries :: Python Modules',
'Development Status :: 4 - Beta',
'Environment :: Console',
'License :: OSI Approved :: The Unlicense (Unlicense)',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Topic :: Text Processing',
'Topic :: Utilities',
]
description = "Build fcitx5/RIME dictionaries from MediaWiki sites"
homepage = "https://github.com/outloudvi/mw2fcitx/"
include = [
'mw2fcitx/**/*.json',
]
license = "Unlicense"
name = "mw2fcitx"
package-mode = true
packages = [
{include = "mw2fcitx"},
{include = "tests", format = "sdist"},
]
readme = "README.md"
repository = "https://github.com/outloudvi/mw2fcitx/"
version = "0.16.0"
[tool.poetry.scripts]
mw2fcitx = 'mw2fcitx.main:main'
[tool.poetry.dependencies]
OpenCC = "^1.1.7"
pypinyin = "^0.52.0"
python = "^3.9"
urllib3 = "^2.2.2"
[tool.poetry.group.dev.dependencies]
autopep8 = "^2.3.1"
coverage = "^7.6.0"
pylint = "^3.2.5"
pytest = "^8.3.1"
pytest-cov = "^5.0.0"
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core"]
[tool.yapf]
based_on_style = "google"
[tool.coverage.run]
branch = true
omit = [
"*/.venv/*",
"mw2fcitx/sample_config.py",
"tests/cli/conf_*.py",
]
[tool.coverage.html]
directory = "coverage_html_report"