添加依赖

This commit is contained in:
xunbu
2026-01-19 10:08:54 +08:00
parent cd218a5ad0
commit 86a9958f58
2 changed files with 3 additions and 0 deletions

View File

@@ -21,6 +21,7 @@ dependencies = [
"python-pptx>=1.0.2", "python-pptx>=1.0.2",
"pypdf>=6.4.2", "pypdf>=6.4.2",
"regex>=2025.11.3", "regex>=2025.11.3",
"charset-normalizer>=3.4.4",
] ]
dynamic = ["version"] dynamic = ["version"]

2
uv.lock generated
View File

@@ -370,6 +370,7 @@ name = "docutranslate"
source = { editable = "." } source = { editable = "." }
dependencies = [ dependencies = [
{ name = "beautifulsoup4" }, { name = "beautifulsoup4" },
{ name = "charset-normalizer" },
{ name = "fastapi", extra = ["standard"] }, { name = "fastapi", extra = ["standard"] },
{ name = "httpx" }, { name = "httpx" },
{ name = "json-repair" }, { name = "json-repair" },
@@ -405,6 +406,7 @@ dev = [
[package.metadata] [package.metadata]
requires-dist = [ requires-dist = [
{ name = "beautifulsoup4", specifier = ">=4.13.4" }, { name = "beautifulsoup4", specifier = ">=4.13.4" },
{ name = "charset-normalizer", specifier = ">=3.4.4" },
{ name = "docling", marker = "extra == 'docling'", specifier = ">=2.40.0" }, { name = "docling", marker = "extra == 'docling'", specifier = ">=2.40.0" },
{ name = "fastapi", extras = ["standard"], specifier = ">=0.115.12" }, { name = "fastapi", extras = ["standard"], specifier = ">=0.115.12" },
{ name = "hf-xet", marker = "extra == 'docling'", specifier = ">=1.1.10" }, { name = "hf-xet", marker = "extra == 'docling'", specifier = ">=1.1.10" },