配置,以便可以从github进行pip安装

配置,以便可以从github进行pip安装,第1张

配置,以便可以从github进行pip安装

您需要整个python软件包,其中包含一个

setup.py
文件。

名为的软件包为

foo

foo # the installable package├── foo│   ├── __init__.py│   └── bar.py└── setup.py

然后像这样从github安装:

$ pip install git+ssh://[email protected]/myuser/foo.gitor$ pip install git+https://github.com/myuser/foo.git@v123or$ pip install git+https://github.com/myuser/foo.git@newbranch

有关更多信息,请访问https://pip.pypa.io/en/stable/reference/pip_install/#vcs-
support



欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/zaji/5664453.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-12-16
下一篇 2022-12-16

发表评论

登录后才能评论

评论列表(0条)

保存