src/hdalab/__init__.py
author cavaliet
Mon, 16 Jun 2014 17:28:44 +0200
changeset 269 9281df55124f
parent 266 825ff4d6a8ac
child 272 1c774f7a0341
permissions -rw-r--r--
Merge with 2f4ffaf94670c8d600ec3dd187b7d02b16a81ce4

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