feat: 添加模块编译脚本和导出依赖功能
refactor(events): 移除数据类的slots参数以提升兼容性 build: 更新requirements.txt依赖列表
This commit is contained in:
8
export_requirements.py
Normal file
8
export_requirements.py
Normal 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)
|
||||
Reference in New Issue
Block a user