Mercurial > libervia-web
view libervia/__init__.py @ 1462:87e48b6a1bbd
server: fix `libervia-app` name parsing following prefix change
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 30 Sep 2021 11:55:42 +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()