git 克隆 + 安装在 Python
git clone + install in Python
是否有单行快捷方式:
git clone https://github.com/user/mypythonmodule.git
cd mypythonmodule
python setup.py install
cd ..
喜欢
git clone install https://github.com/user/mypythonmodule.git
或者这个不存在?
如果您使用 pip,它支持从 git 个 URL 安装。
"pip currently supports cloning over git, git+https and git+ssh"
所以你会这样做
pip install git+https://github.com/user/mypythonmodule.git
是否有单行快捷方式:
git clone https://github.com/user/mypythonmodule.git
cd mypythonmodule
python setup.py install
cd ..
喜欢
git clone install https://github.com/user/mypythonmodule.git
或者这个不存在?
如果您使用 pip,它支持从 git 个 URL 安装。
"pip currently supports cloning over git, git+https and git+ssh"
所以你会这样做
pip install git+https://github.com/user/mypythonmodule.git