feat: 添加桌面程序打包支持

- 添加 PyInstaller 打包脚本 build_exe.py
- 更新 requirements.txt 添加 PyQt6 和 opencv-python
- .gitignore 添加 PyInstaller 打包产物忽略规则

使用方法:
  pip install pyinstaller
  python build_exe.py

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
let5sne.win10
2026-02-12 23:00:57 +08:00
parent 109946a461
commit 7e4f2c92b1
3 changed files with 67 additions and 0 deletions

View File

@@ -1,7 +1,19 @@
# OCR 核心依赖
paddleocr>=2.6,<3
paddlepaddle>=2.5,<3
# 数据处理
pandas
openpyxl
pydantic
tqdm
# Web 界面
streamlit
# 桌面版依赖
PyQt6>=6.6.0
opencv-python>=4.8.0
# 打包工具(仅开发时需要)
pyinstaller>=6.0.0