-
Notifications
You must be signed in to change notification settings - Fork 19
Conversation
This is the first part of the pypi automation. After that you need to create a travis-ci account to use it to deploy by git tag push on github |
Do you have any updates about this? |
@rhatdan ack |
it looks fine to me but i also know almost nothing about pypy process. @jwhonce ptal |
You only need to create an account on pypi and on travis-ci and in a second time I'll submit another patch to automatically publish on pypi when you (and your team) will push a new git tag on this repo. But before that I need to know the name of your pypi account or the owner name. |
PBR (Python Build Reasonableness)[1]. Overview: - remove python code - introduce meta project configuration - allow pypi to display readme at markdown format - automatize semver management based on git tag name (example 1.0.0) - automatize changelog generate - automatize authors file generate PBR allow to automatically manage your version bumping, your changelog, your authors file and a lot of useful features like this. You just have to publish a git tag and pbr generate a version number based on the git tag name (example: 1.0.0). It also a good practice to use setup.cfg to centralize project configuration: - project meta - wheel - etc... This commit remove python code to maintain by transform it into configuration. If you choose to distribute this project with pypi these changes introduce readme displayed at markdown format compatible with pypi. [1] https://docs.openstack.org/pbr/latest/ Signed-off-by: Hervé Beraud <[email protected]>
rebased on latest master changes |
@jwhonce PTAL |
Ok I can go with this, but what is the version I need to specify for podman-python? |
I think you can create a version 1.4.3: $ git tag 1.4.3
$ git push --tags We just need to explain how we manage version for |
Right I did greate a tag v0.0.1 and pushed it but the travis update failed. |
No it's ok... it's due to a weird behaviour of travis who try to publish the same package for all the supported python versions... |
oh sorry I'm wrong.... I need to inspect what's problem |
Apparently a rst issue... I will take a look |
PBR (Python Build Reasonableness)[1].
Overview:
PBR allow to automatically manage your version bumping,
your changelog, your authors file and a lot of useful
features like this.
You just have to publish a git tag and pbr generate
a version number based on the git tag name (example: 1.0.0).
It also a good practice to use setup.cfg to centralize
project configuration:
This commit remove python code to maintain by transform it
into configuration.
If you choose to distribute this project with pypi these
changes introduce readme displayed at markdown format compatible
with pypi.
[1] https://docs.openstack.org/pbr/latest/
Signed-off-by: Hervé Beraud [email protected]