如何使用ivy & 将Python依赖项发布到artifactory pypi梯度
我看到我们可以与Ivy和Gradle一起将存储库发布到PYPI。 我看到settings.gradle或在您的build.gradle中应该有类似的东西:
pluginManagement {
repositories {
ivy {
url '<pypi-artifactory-url>'
layout 'pattern', {
artifact '[organisation]/[module]/[revision]/[artifact]-revision.[ext]'
ivy '[organisation]/[module]/[revision]/[module]-[revision].ivy'
m2compatible = true
}
}
}
}
很难理解如何使其适应发布到PYPI
I saw that we can publish repositories to pypi with ivy and gradle.
I saw that the settings.gradle or in your build.gradle there should be something like this:
pluginManagement {
repositories {
ivy {
url '<pypi-artifactory-url>'
layout 'pattern', {
artifact '[organisation]/[module]/[revision]/[artifact]-revision.[ext]'
ivy '[organisation]/[module]/[revision]/[module]-[revision].ivy'
m2compatible = true
}
}
}
}
I also saw this plugin: http://man.hubwiz.com/docset/Gradle_User_Guide.docset/Contents/Resources/Documents/userguide/publishing_ivy.html
But I have a hard time understanding how to adapt it to publish to pypi
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论