view libervia/__init__.py @ 1449:7e63fdb272e5

misc: don't take post version into account when comparing versions
author Goffi <goffi@goffi.org>
date Mon, 02 Aug 2021 22:05:37 +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()