src/hdalab/__init__.py
author cavaliet
Tue, 17 Jun 2014 10:25:33 +0200
changeset 271 8f77cf71ab02
parent 262 web/hdalab/__init__.py@da962b8b5bce
child 272 1c774f7a0341
permissions -rw-r--r--
commit the venv update (django and dependancies) in the good head

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