修正了打包的问题

This commit is contained in:
xunbu
2025-05-19 14:19:37 +08:00
parent 2c8c07572e
commit e9f90b11ee
5 changed files with 27 additions and 23 deletions

View File

@@ -1,7 +1,8 @@
# -*- mode: python ; coding: utf-8 -*-
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')]
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')]
binaries = []
hiddenimports = []
tmp_ret = collect_all('easyocr')