如何将xnat python软件包更新为该特定的提交版本?
https://gitlab.com/radiology/infrastructure/xnatpy/-/commit/f58f04a2eeae62cd8f0631d213c6ff5552c44a70
当我尝试pip install xnat
时,它不包含此更新,我想知道如何包含它。
答案 0 :(得分:1)
您应该运行
pip install git+https://gitlab.com/radiology/infrastructure/xnatpy.git@f58f04a2eeae62cd8f0631d213c6ff5552c44a70#egg=xnat
PyPI将在提交xnat
时从存储库https://gitlab.com/radiology/infrastructure/xnatpy.git
安装名为f58f04a2eeae62cd8f0631d213c6ff5552c44a70
的软件包(egg)