server/python/django/renkanmanager/__init__.py
author durandn
Mon, 03 Oct 2016 14:49:15 +0200
changeset 638 adfa5023c55f
parent 633 fdff56da097d
child 652 153f5d09a11a
permissions -rw-r--r--
integrated changes from renkan client into renkanmanager static files (option for uneditable title in edit mode)

# -*- coding: utf-8 -*-
VERSION = (00, 12, 22, "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()