我正在制作一个需要指向我的存储库的setup.py。
使用github,我可以做到这一点:
dependency_links=['https://github.com/nathanborror/django-registration/tarball/master#egg=django-registration']我如何对bitbucket项目做同样的事情?
例如,以下url:
https://bitbucket.org/abraneo/django-registration谢谢。
发布于 2012-04-25 00:57:59
您的Github链接似乎指向一个gzipped压缩的tar文件。尝试对您的Bitbucket托管项目执行相同的操作-- https://bitbucket.org/abraneo/django-registration/get/tip.tar.gz
发布于 2013-04-26 20:54:47
可以在dependency_links中使用以下URL添加BitBucket Mercurial (hg)存储库
'https://bitbucket.org/zzzeek/alembic/get/tip.zip#egg=alembic-0.6.0'在本例中,它安装了Alembic包的开发版本(0.6),在撰写本文时,该包还不是PyPI版本。
请注意,BitBucket同时支持Mercurial和git。如果存储库是Mercurial,则URL必须引用tip.zip,但如果是git,则URL必须引用master.zip。
https://stackoverflow.com/questions/10302417
复制相似问题