src/hdalab/__init__.py
author ymh <ymh.work@gmail.com>
Thu, 16 Jul 2015 19:16:19 +0200
changeset 645 5c1b6455c110
parent 644 764605c51201
child 649 434737bd64e5
permissions -rw-r--r--
Added tag V03.00.02 for changeset 764605c51201

# -*- 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'