server/python/django/renkanmanager/__init__.py
author durandn
Tue, 04 Oct 2016 16:35:37 +0200
changeset 642 91f4bdfa032e
parent 633 fdff56da097d
child 652 153f5d09a11a
permissions -rw-r--r--
Added tag V00.12.23 for changeset 30b673cb13ee

# -*- 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()