Python项目依赖包文件生成
2017-11-15 本文已影响0人
袁先生的笔记
环境
系统:CentOS 6.9
准备
项目依赖包文件生成
-
安装pipreqs
# pip install pipreqs
-
生成项目依赖包文件
# cd /your/project # pipreqs ./
生成项目依赖包文件名:
requirements.txt
项目依赖包安装
# pip install -r requirements.txt
系统:CentOS 6.9
安装pipreqs
# pip install pipreqs
生成项目依赖包文件
# cd /your/project
# pipreqs ./
生成项目依赖包文件名:requirements.txt
# pip install -r requirements.txt