diff --git a/pylons_app/__init__.py b/pylons_app/__init__.py --- a/pylons_app/__init__.py +++ b/pylons_app/__init__.py @@ -0,0 +1,13 @@ +""" +Hg app, a web based mercurial repository managment based on pylons +""" + +VERSION = (0, 6, 0, 'beta') + +__version__ = '.'.join((str(each) for each in VERSION[:4])) + +def get_version(): + """ + Returns shorter version (digit parts only) as string. + """ + return '.'.join((str(each) for each in VERSION[:3]))