Skip to main content

Semi-automatic versioning for git users.

Project description

# flowtool-versioning

Automatic versions from git tags.

This addon lets you deploy a small versioning framework into your python project, that integrates well with setuptools and probably also distutils.

The framework itself has no dependencies but python. It is verified-to-work with python 2.7 and 3.4 releases.

To test it out, run one of these commands: ` flowtool versioning-init flowtool versioning-update ` in a folder that contains a file named setup.py. You will then be asked where the versionfile (that contains the version information) should be placed, and wether you want to include some default snippets into setup.cfg and __init__.py to configure and use the version in your project. It will also create a file named versioning.py next to your setup.py before giving you some information on how to wire things up in setup.py from there.

Once you have it wired into your setup.py (same process as [python-versioneer](https://github.com/warner/python-versioneer)) and created a tag with your chosen prefix (setup.cfg, prefix can be empty also) to bootstrap automatic versioning, you should be able to run: ` ./versioning.py # outputs the current version ./setup.py version # get more detailed current version info ./setup.py bump # create a new tag, with a minorly bumped version ./setup.py sdist release # release is upload and git push + tags `

Request more documentation!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flowtool-versioning-0.7.43.tar.gz (14.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flowtool_versioning-0.7.43-py2.py3-none-any.whl (13.2 kB view details)

Uploaded Python 2Python 3

File details

Details for the file flowtool-versioning-0.7.43.tar.gz.

File metadata

File hashes

Hashes for flowtool-versioning-0.7.43.tar.gz
Algorithm Hash digest
SHA256 97d46263e81a06d6899dd54e61bc85cd472a599a6e8a3362e8bc796fca9fc35d
MD5 8265afe58f216ec8e3637e3e14a449e2
BLAKE2b-256 3de6206d0c49912e3dfc2f26707d8b4c19d960d8bdb3f245a96390f4bc463837

See more details on using hashes here.

File details

Details for the file flowtool_versioning-0.7.43-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for flowtool_versioning-0.7.43-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ae0cddd10bd617c2a3e4b60095c00400b6767174ee54f1ce901f354c9a5bb1bb
MD5 db99384f77828337b942efacf7d0e9db
BLAKE2b-256 8bd9fd3f446265650025690db21958e475c840ec3af46633646562fe9cffdf2f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page