fix: 修复PyInstaller打包缺失dotenv等模块
- 添加 dotenv 到 hidden_imports - 添加 processor_service, file_utils, log_utils, string_utils, column_mapper Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user