basic-auto-test/project_script.py

17 lines
423 B
Python
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# -*- coding: utf-8 -*-
# -------------------------------
# @文件project_script.py
# @时间2024/3/22 11:43
# @作者caiweichao
# @功能描述:项目中用到的一些小脚本和项目本身无关
# -------------------------------
import os
# 安装依赖
os.system('pip install -r requirements.txt')
# 更新 requeirments.txt
os.system('pip freeze > requirements.txt')
if __name__ == '__main__':
pass