Semi-automatic versioning for git users.
Project description
[![PyPI Python Versions](https://img.shields.io/pypi/pyversions/flowtool-versioning.svg)](https://pypi.python.org/pypi/flowtool-versioning) [![PyPI Latest Version](https://img.shields.io/pypi/v/flowtool-versioning.svg)](https://pypi.python.org/pypi/flowtool-versioning) [![PyPI Distribution Format](https://img.shields.io/pypi/format/flowtool-versioning.svg)](https://pypi.python.org/pypi/flowtool-versioning)
# 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file flowtool_versioning-0.7.58-py2.py3-none-any.whl
.
File metadata
- Download URL: flowtool_versioning-0.7.58-py2.py3-none-any.whl
- Upload date:
- Size: 20.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 770d82d7d3912afa658c36aab0e09a1b3b7275bacbee33416af3bda6cd1dfa21 |
|
MD5 | 90a41efd21b471fa3c1103988fe8570a |
|
BLAKE2b-256 | a162b1c5096242fadf07b8e80650aa996d03e0862ba64809c5718be9a1964315 |