This commit is contained in:
bridge
2025-12-14 14:59:25 +08:00
parent 864b03b460
commit 6b0bf25699
9 changed files with 113 additions and 30 deletions

View File

@@ -1,9 +0,0 @@
import os
import sys
# 将项目根目录加入 Python 路径,确保可以导入 `src` 包
PROJECT_ROOT = os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))
if PROJECT_ROOT not in sys.path:
sys.path.insert(0, PROJECT_ROOT)