feat: 添加模块编译脚本和导出依赖功能

refactor(events): 移除数据类的slots参数以提升兼容性
build: 更新requirements.txt依赖列表
This commit is contained in:
2026-01-13 09:33:20 +08:00
parent b11bfbeabe
commit 40a1f7e041
8 changed files with 407 additions and 33 deletions

8
export_requirements.py Normal file
View File

@@ -0,0 +1,8 @@
import subprocess
# 运行pip freeze命令获取所有依赖
result = subprocess.run(['pip', 'freeze'], capture_output=True, text=True)
# 将输出写入requirements.txt文件
with open('requirements.txt', 'w', encoding='utf-8') as f:
f.write(result.stdout)