def get_version()

in setup.py [0:0]


def get_version():
    root = path.dirname(path.realpath(__file__))
    version_file = path.join(root, 'pulsar', '__about__.py')
    version = {}
    with open(version_file) as fp:
        exec(fp.read(), version)
    return version['__version__']