修改依赖库导出脚本
This commit is contained in:
parent
a92ede6441
commit
9d56d739d8
|
@ -12,9 +12,11 @@ if exist %pip% (
|
|||
echo # 项目目录下Python第三方package依赖树信息 > %cd%\package_deptree_info.txt
|
||||
%pipdeptree% -a >> %cd%\package_deptree_info.txt
|
||||
) else (
|
||||
echo ***********************【未检测到项目目录下Python解释器,使用环境变量下Python解释器】************
|
||||
echo ***********************【未检测到项目目录下Python解释器,使用系统环境变量目录下Python解释器】************
|
||||
echo # 系统环境变量中Python第三方package信息 > %cd%\package_info.txt
|
||||
pip freeze >> %cd%\package_info.txt
|
||||
echo # 系统环境变量中Python第三方package依赖树信息 > %cd%\package_deptree_info.txt
|
||||
pipdeptree -a >> %cd%\package_deptree_info.txt
|
||||
)
|
||||
echo ***********************【导出Python包信息完成】***********************
|
||||
pause
|
Loading…
Reference in New Issue