pyreleaser

Created 8 years ago
Maintained by fivaldi
Yet another automation of Python projects releasing
Members 1
Filip Valder committed 8 years ago

pyreleaser

Yet another automation of Python projects releasing

Prerequisites:

  • ansible package installed locally.
  • Existing version tag in git repository (must match version given in setup.py) for the project to be released.
  • tox.ini configuration file in the topmost/root directory level of the repository in the given version tag (alternatively can be specified via tox_config configuration variable)

Basic usage:

$ ansible-playbook pyreleaser.yml --extra-vars "repo=<git_url> version=<git_tag>"

Using alternative tox config file:

By default, tox config file is taken from the requested git tag. To override this, set tox_config variable:

$ ansible-playbook pyreleaser.yml --extra-vars "repo=<git_url> version=<git_tag> tox_config=<path_to_tox.ini>"