view libervia/__init__.py @ 1480:e739600267cd

server (restricted_bridge): don't allow bridge methods modifying anything with service profile
author Goffi <goffi@goffi.org>
date Fri, 22 Oct 2021 16:04:24 +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()