small fix

This commit is contained in:
xunbu
2025-09-24 13:54:35 +08:00
parent a322772084
commit e313985c2c
2 changed files with 22 additions and 27 deletions

View File

@@ -23,23 +23,15 @@ dependencies = [
dynamic = ["version"]
[project.optional-dependencies]
docling = [
"opencv-python>=4.11.0.86",
"docling>=2.40.0",
"hf-xet>=1.1.10"
]
docling = ["opencv-python>=4.11.0.86", "docling>=2.40.0", "hf-xet>=1.1.10"]
[dependency-groups]
dev = [
"opencv-python>=4.11.0.86",
"docling>=2.40.0",
"hf-xet>=1.1.10"
]
dev = ["opencv-python>=4.11.0.86", "docling>=2.40.0", "hf-xet>=1.1.10"]
[project.scripts]
docutranslate = "docutranslate.cli:main"
[build-system]
requires = ["setuptools>=80.9.0"] # 或者你需要的 setuptools 版本
requires = ["setuptools>=80.9.0"] # 或者你需要的 setuptools 版本
build-backend = "setuptools.build_meta"
backend-path = ["."]
[tool.setuptools]
@@ -52,4 +44,3 @@ docutranslate = ["static/**", "template/**"]
[tool.setuptools.dynamic]
version = { attr = "docutranslate.__version__" }