src/catedit/version.py
author ymh <ymh.work@gmail.com>
Fri, 10 Apr 2015 16:10:25 +0200
changeset 88 1e15fe538d93
parent 76 a032d9271061
child 101 a5dd3765ad19
permissions -rw-r--r--
increment version to 0.2.2

"""
    version.py:
    Module to get the current CatEdit version, the only place where we have to
    increment version numbers
"""

__all__ = ["VERSION", "get_version", "CURRENT_VERSION"]

VERSION = (0, 2, 2)

def get_version():
    """
        Function to convert the tuple to a string
    """
    version = "%s.%s" % (VERSION[0], VERSION[1])
    if version[2]:
        version = "%s.%s" % (version, VERSION[2])
    return version

CURRENT_VERSION = get_version()