server/python/django/renkanmanager/__init__.py
author rougeronj
Thu, 23 Apr 2015 16:37:42 +0200
changeset 423 4f0b6f345564
parent 410 97f2c763376c
child 435 e529b633c339
permissions -rw-r--r--
add grunt-contrib-watch and a watch task to detect modification of js/css/html and launch the corresping task to build the application again

# -*- coding: utf-8 -*-
VERSION = (0, 8, 7, "final", 0)


def get_version():
    version = '%s.%s' % (VERSION[0], VERSION[1])
    if VERSION[2]:
        version = '%s.%s' % (version, VERSION[2])
    if VERSION[3:] == ('alpha', 0):
        version = '%s pre-alpha' % version
    else:
        if VERSION[3] != 'final':
            version = '%s %s %s' % (version, VERSION[3], VERSION[4])
    return version


__version__ = get_version()