src/ldt/ldt/__init__.py
author verrierj
Wed, 25 Jan 2012 14:50:22 +0100
changeset 446 2fdfe3ee9498
parent 312 600a2a09a947
child 554 765e7c443ebe
child 1088 d9f361430091
permissions -rw-r--r--
Add cutting_id to search results

VERSION = (0, 21, 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()

#initialize 
from ldt.ldt_utils import contentindexer