用于将包发布到 PyPi 的实用程序?

发布于 2025-01-04 11:05:07 字数 364 浏览 1 评论 0原文

我在 GitHub 存储库中有许多 python 包,如果能在 PyPi 中使用这些包那就太好了。我知道我可以手动执行这些发布(更新版本号,也许更新变更日志,在 GitHub 中标记发布,从 GitHub 获取下载 url,使用发布更新 PyPi 等),但我一直认为必须有一个脚本/utility 某处使其成为单命令进程。

我对 python 打包过程不太熟悉,所以也许我是从错误的角度来看待这个问题的。我只是不认为我能成为第一个想到让整个过程变得更加容易的人。

编辑:因为我的要求似乎有些混乱:是否有任何工具可以使将 Python 包发布到 PyPi 的过程更快、更简化?

我有尝试四处寻找但尚未找到任何东西。

I have a number of python packages in GitHub repositories and it would be really great to have these available in PyPi. I know I could do these releases manually (update the version number, perhaps update a changelog, tag the release in GitHub, get the download url from GitHub, update PyPi with the release etc.) but I keep thinking that there must be a script/utility somewhere to make this a single-command process.

I am not massively familiar with the python packaging process, so perhaps I am coming at this from the wrong angle. I just don't think I can be the first one to have the idea of making this whole process a lot easier.

Edit: As there seems to be some confusion about what I am asking for: Are there any tools that make releasing Python packages to PyPi a faster and more streamlined process?

I have tried searching around but have yet to find anything.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

风铃鹿 2025-01-11 11:05:07

好吧,我真的不知道其他人是否遇到过这个问题/担忧,但我很痒,需要抓挠,所以我做了这个:

http://seed.readthedocs.org

如果已经有东西可以做得更好,我不会感到惊讶,但现在这就是我将使用的:)

Ok, I really don't know if anyone else has had this problem/concern, but I had an itch I needed to scratch so I have made this:

http://seed.readthedocs.org

I wouldn't be surprised if there is something out there already that does this better, but for now this is what I'll use :)

谷夏 2025-01-11 11:05:07

更改软件,使 pypi 发布只需一步。看起来与 seed 非常相似。

不管怎样,如果 pypi 可以检查 github 上是否有新的标记版本并将其发布到 pypi 上,那就太好了。

There is changes, software that makes the pypi publish just a single step. Looks like that is quite similar to seed.

Anyway, it would be nice if pypi could just check if on github there is a new tagged release and release it on pypi.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文