- 任务化清洗流程:Task/TaskManager + BatchProcessor 三方法
- 数据目录规范化:data/{db,sources,backup}
- CLI 入口移进包,注册 jclean 命令
- 工作流测试驱动(tests/test_cleaner_workflow.py)
- 40 测试通过
32 lines
616 B
TOML
32 lines
616 B
TOML
[build-system]
|
|
requires = ["setuptools>=42"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "pl_japanese"
|
|
version = "0.0.1"
|
|
description = "pl japanese study"
|
|
authors = [{name = "panli", email = "pl@gzjunbo.net"}]
|
|
readme = "README.md"
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
"pydantic>=2.0",
|
|
"loguru>=0.7",
|
|
"pypinyin>=0.50",
|
|
"jamdict>=0.1a11",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
test = [
|
|
"pytest>=8.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
jclean = "pl_japanese.cleaner.cli:main"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["src"]
|
|
|
|
[tool.pytest.ini_options]
|
|
pythonpath = ["src"]
|
|
testpaths = ["tests"] |