- src 标准布局:config/providers/pipeline/report + CLI/Tk GUI 双入口 - 级联省钱:豆包全量初筛,仅无违规/违规不明图进 DeepSeek 复检(含两票复核) - 输出:时间戳目录 + 分类文件夹图片归档 + Excel 报表 - 30 个单元测试(tests/,测试图片不入库)
24 lines
570 B
TOML
24 lines
570 B
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "violation-detector"
|
|
version = "1.0.0"
|
|
description = "服装商品图合规检测:豆包视觉初筛 + DeepSeek 复检级联,输出 Excel 报表"
|
|
requires-python = ">=3.10"
|
|
dependencies = [
|
|
"aiohttp>=3.9",
|
|
"openpyxl>=3.1",
|
|
]
|
|
|
|
[project.scripts]
|
|
violation-detector = "violation_detector.cli:main"
|
|
violation-detector-gui = "violation_detector.gui:main"
|
|
|
|
[dependency-groups]
|
|
test = ["pytest>=8.0"]
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/violation_detector"]
|