如何使用ivy & 将Python依赖项发布到artifactory pypi梯度

发布于 2025-01-18 16:14:12 字数 939 浏览 3 评论 0原文

我看到我们可以与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
                }
            }
        }
}

我还看到了此插件: http://man.hubwiz.com/docset/docset/gradle_guide.docset.docset/contents/contents/contents/resources/resources/resources/resources/documents/documents/userguide/userguide/publastishivy_ivy.html

很难理解如何使其适应发布到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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文