diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 0d6f066..8e2877f 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -5,10 +5,8 @@
-
-
@@ -39,59 +37,59 @@
- {
+ "keyToString": {
+ "DefaultHtmlFileTemplate": "HTML File",
+ "JavaScript 调试.output.html (1).executor": "Run",
+ "JavaScript 调试.output.html.executor": "Run",
+ "JavaScript 调试.regex.md_中文.html.executor": "Run",
+ "JavaScript 调试.regex_中文.html.executor": "Run",
+ "JavaScript 调试.test.html.executor": "Run",
+ "JavaScript 调试.test2.html.executor": "Run",
+ "JavaScript 调试.test2_英文.html.executor": "Run",
+ "JavaScript 调试.test4-1_中文.html.executor": "Run",
+ "JavaScript 调试.互联网认证授权机制.html.executor": "Run",
+ "JavaScript 调试.互联网认证授权机制_英文.html.executor": "Run",
+ "JavaScript 调试.毕业论文_英文.html.executor": "Run",
+ "ModuleVcsDetector.initialDetectionPerformed": "true",
+ "Python 测试.Python 测试 (markdown_mask.py 内).executor": "Run",
+ "Python 测试.markdown_mask.Test.test_basic_link_masking 的 Python 测试.executor": "Run",
+ "Python 测试.pytest (test_html.py 内).executor": "Run",
+ "Python.2test2 (1).executor": "Run",
+ "Python.PDFtranslater (1).executor": "Run",
+ "Python.PDFtranslater (2).executor": "Run",
+ "Python.agent.executor": "Debug",
+ "Python.agent_utils.executor": "Run",
+ "Python.app (1).executor": "Run",
+ "Python.app.executor": "Run",
+ "Python.app2.executor": "Run",
+ "Python.app_test (1).executor": "Run",
+ "Python.convert.executor": "Run",
+ "Python.markdown_splitter.executor": "Debug",
+ "Python.markdown_utils.executor": "Run",
+ "Python.test.executor": "Run",
+ "Python.test1.executor": "Run",
+ "Python.test2.executor": "Run",
+ "Python.test3.executor": "Run",
+ "Python.test4.executor": "Run",
+ "Python.testhtml.executor": "Run",
+ "Python.translater.executor": "Run",
+ "Python.切分测试.executor": "Run",
+ "RunOnceActivity.ShowReadmeOnStart": "true",
+ "RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager": "true",
+ "RunOnceActivity.git.unshallow": "true",
+ "git-widget-placeholder": "main",
+ "last_opened_file_path": "C:/Users/jxgm/Desktop/FileTranslate/dist/DocuTranslate",
+ "list.type.of.created.stylesheet": "CSS",
+ "node.js.detected.package.eslint": "true",
+ "node.js.detected.package.tslint": "true",
+ "node.js.selected.package.eslint": "(autodetect)",
+ "node.js.selected.package.tslint": "(autodetect)",
+ "nodejs_package_manager_path": "npm",
+ "settings.editor.selected.configurable": "preferences.pluginManager",
+ "vue.rearranger.settings.migration": "true"
}
-}]]>
+}
@@ -569,7 +567,9 @@
-
+
+
+
diff --git a/app.spec b/app.spec
index 935b508..52200e4 100644
--- a/app.spec
+++ b/app.spec
@@ -2,7 +2,7 @@
from PyInstaller.utils.hooks import collect_all
datas = [('C:/Users/jxgm/Desktop/FileTranslate/.venv/Lib/site-packages/docling_parse/pdf_resources_v2', 'docling_parse/pdf_resources_v2'),
-('C:/Users/jxgm\Desktop/FileTranslate/docutranslate/static', 'docutranslate/static')]
+('C:/Users/jxgm/esktop/FileTranslate/docutranslate/static', 'docutranslate/static')]
binaries = []
hiddenimports = []
tmp_ret = collect_all('easyocr')
diff --git a/pyproject.toml b/pyproject.toml
index 43d56c2..87c0dc7 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -5,13 +5,13 @@ description = "文件翻译工具"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
- "docling>=2.31.0",
- "httpx",
- "markdown2",
- "fastapi[standard]>=0.115.12",
+ "docling>=2.31.0",
+ "httpx",
+ "markdown2",
+ "fastapi[standard]>=0.115.12",
]
[project.scripts]
-docutranslate="docutranslate.cli:main"
+docutranslate = "docutranslate.cli:main"
[build-system]
requires = ["setuptools>=61.0"] # 或者你需要的 setuptools 版本