src/hdalab/__init__.py
author rougeronj
Tue, 22 Sep 2015 15:05:28 +0200
changeset 646 c5683bd882a8
parent 644 764605c51201
child 649 434737bd64e5
permissions -rw-r--r--
rename save_status to saveStatus to fit with the client version

# -*- coding: utf-8 -*-
from __future__ import absolute_import

VERSION = (3, 0, 2, "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()

default_app_config = 'hdalab.apps.HdalabAppConfig'