server/python/django/renkanmanager/__init__.py
author rougeronj
Thu, 10 Sep 2015 16:22:28 +0200
changeset 514 d45e95229c47
parent 501 a509adc8ac10
child 522 1cb7122dd427
permissions -rw-r--r--
Merge with e410fcc078ee4e593ab72c60cdc7e7989afe0a40

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