view libervia/__init__.py @ 1477:b28025a7cc28

browser (bride): use `BridgeInternalError` for unmanaged errors: This is to avoid confusion with a backend internal error.
author Goffi <goffi@goffi.org>
date Thu, 21 Oct 2021 17:36:17 +0200
parents ac2374c92294
children
line wrap: on
line source

import os.path

version_file = os.path.join(os.path.dirname(__file__), "VERSION")
with open(version_file) as f:
    __version__ = f.read().strip()