From 4f0efcd0c03e95255f948a4313a2d7a776b74530 Mon Sep 17 00:00:00 2001 From: houhuan Date: Mon, 4 May 2026 21:14:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8DPyInstaller=E6=89=93?= =?UTF-8?q?=E5=8C=85=E7=BC=BA=E5=A4=B1dotenv=E7=AD=89=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 添加 dotenv 到 hidden_imports - 添加 processor_service, file_utils, log_utils, string_utils, column_mapper Co-Authored-By: Claude Opus 4.7 --- build_exe.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/build_exe.py b/build_exe.py index 6d96c45..99974b3 100644 --- a/build_exe.py +++ b/build_exe.py @@ -57,6 +57,7 @@ hidden_imports = [ 'xlwt', 'xlutils', 'requests', + 'dotenv', 'configparser', 'threading', 'datetime', @@ -68,7 +69,12 @@ hidden_imports = [ 'app.services.ocr_service', 'app.services.order_service', 'app.services.tobacco_service', + 'app.services.processor_service', 'app.core.utils.dialog_utils', + 'app.core.utils.file_utils', + 'app.core.utils.log_utils', + 'app.core.utils.string_utils', + 'app.core.handlers.column_mapper', 'app.core.excel.converter', 'app.core.db.product_db', 'app.ui.error_utils',