server/python/django/renkanmanager/__init__.py
author ymh <ymh.work@gmail.com>
Mon, 11 Mar 2019 18:06:33 +0100
changeset 660 6d939abb9273
parent 658 cac26275af31
child 663 9cb6028fcf55
permissions -rw-r--r--
Upgrade version for screenfull.js to correct problem of fullscreen button on chrome. increment version number

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