使用pip install -e 来指定extras_require。

12 浏览
0 Comments

使用pip install -e 来指定extras_require。

在从git仓库安装时,如何使用pip来安装extras_require?我知道当项目在pypi上时,可以使用pip install project[extra]命令来实现。而当项目在git仓库中时,需要使用pip install -e git+https://github.com/user/project.git#egg=project命令,但我找不到如何将这两个选项链接起来的方法。

0