src/ldt/ldt/__init__.py
author rougeronj
Mon, 07 Jan 2013 16:06:59 +0100
branchchunked_upload
changeset 1053 6961dae2de7b
parent 1028 57bb8c9fe1ff
child 1032 726f2cf3f020
permissions -rw-r--r--
cleaning some console.log

VERSION = (1, 41, 0, "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()