curr_version
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
.travis.yml
README.md
__init__.py
curr_version.py
requirements.txt
run-tests.sh
test.py

README.md

curr_version

Build Status

Usage:

>>> from curr_version import get_version
>>> print 'ver: %s' % get_version()
ver: v0.1-1-g06cc96e

Requirements

sudo pip install sh

https://pypi.python.org/pypi/sh

History

v0.2

  • sh instead of pure git cmds