server/python/django/renkanmanager/__init__.py
author ymh <ymh.work@gmail.com>
Thu, 01 Oct 2015 16:56:54 +0200
changeset 561 5feabdc61980
parent 550 06fc441c21b1
child 568 60297c027bb5
permissions -rw-r--r--
correct grunt for correct handling of screenfull in umd. publish new version

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