精简打包之前

This commit is contained in:
2026-02-25 11:50:30 +08:00
parent af56c94efe
commit 729b283f29
25 changed files with 8615 additions and 50 deletions

View File

@ -35,6 +35,11 @@ import os
import sys
from pathlib import Path
# 设置控制台编码为 UTF-8解决 Windows 中文乱码问题)
import io
sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='utf-8')
sys.stderr = io.TextIOWrapper(sys.stderr.buffer, encoding='utf-8')
# Add the project root and src directory to PYTHONPATH
project_root = Path(__file__).parent.absolute()
src_dir = project_root / "src"