簡體   English   中英

如何將 python 包更新為 git commit 版本?

[英]How do I update a python package to a git commit version?

如何將我的 xnat python 包更新到這個特定的提交版本?

https://gitlab.com/radiology/infrastructure/xnatpy/-/commit/f58f04a2eeae62cd8f0631d213c6ff5552c44a70

當我嘗試pip install xnat它不包含此更新,我想知道如何包含它

你應該跑

pip install git+https://gitlab.com/radiology/infrastructure/xnatpy.git@f58f04a2eeae62cd8f0631d213c6ff5552c44a70#egg=xnat

PyPI 將在提交f58f04a2eeae62cd8f0631d213c6ff5552c44a70從存儲庫https://gitlab.com/radiology/infrastructure/xnatpy.git安裝名為xnat包(egg)

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM