src/ldt/ldt/__init__.py
author rougeronj
Fri, 30 Nov 2012 17:22:18 +0100
branchchunked_upload
changeset 1037 09d5115b977f
parent 985 2f89ccff08cc
child 994 a6a37775a76d
permissions -rw-r--r--
Starting 'chunked_upload' branch

VERSION = (1, 36, 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()