问题描述:

I want to create tarball with my package automatically for using in installer (another app).

Code is stored in Git repository on Bitbucket.

Now, for creation tarball manually I need:

  • clone repo
  • checkout to specific branch
  • run python setup.py sdist

and tarball will be in dist directory.

Is there any tool for this purpose?

If no, I'll just implement own tool.

网友答案:

Please use zest.releaser. It has also customupload plugin if you need to put the tarball on some server.

My tutorial for zest.releaser.

Not sure how well it works if your branch and tag naming conventions differ much from what the most Python packages do.

相关阅读:
Top