# -*- coding: utf-8 -*-
VERSION = (0, 1, 4, 'final')

if VERSION[-1] != "final": # pragma: no cover
    __version__ = '.'.join(map(str, VERSION))
else: # pragma: no cover
    __version__ = '.'.join(map(str, VERSION[:-1]))

# -*- coding: utf-8 -*-
VERSION = (0, 1, 5, 'final')

if VERSION[-1] != "final": # pragma: no cover
    __version__ = '.'.join(map(str, VERSION))
else: # pragma: no cover
    __version__ = '.'.join(map(str, VERSION[:-1]))

Update __init__.py