chore: 完成正式代码包结构

创建 app 包与 main.py 入口,将根目录 cdp.py 迁入 app/cdp.py,并保留最小 app.gui 占位入口。

修正 prototypes/demo.py 与 demo.bat,让原型脚本从项目根导入 app.cdp。

更新任务看板、当前状态和进度记录,标记 T-000 完成并记录本机 Python 解释器差异。
This commit is contained in:
chengma
2026-06-26 17:24:23 +08:00
parent 917656f205
commit ef389b323f
10 changed files with 74 additions and 21 deletions
+16
View File
@@ -0,0 +1,16 @@
#!/usr/bin/env python3
"""cmshopee application entry point."""
import os
import sys
PROJECT_ROOT = os.path.dirname(os.path.abspath(__file__))
if PROJECT_ROOT not in sys.path:
sys.path.insert(0, PROJECT_ROOT)
from app.gui import main
if __name__ == "__main__":
raise SystemExit(main())