我试图使它能与pip一起安装,但以上内容对我而言不起作用。从[1]我理解
PEP508应该使用该标准,从[2]我检索了一个确实有效的示例(至少对我而言)。
请注意; 这与
pip 20.0.2上
Python 3.7.4
setup( name='<package>',... install_requires=[ '<normal_dependency>', # Private repository '<dependency_name> @ git+ssh://[email protected]/<user>/<repo_name>@<branch>', # Public repository '<dependency_name> @ git+https://github.com/<user>/<repo_name>@<branch>', ],)
-e设置,而无需指定
--process-dependency-links)。
参考文献 [1]
https://github.com/pypa/pip/issues/4187
[2]
https://github.com/pypa/pip/issues/5566
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)