diff libervia/web/__init__.py @ 1518:eb00d593801d

refactoring: rename `libervia` to `libervia.web` + update imports following backend changes
author Goffi <goffi@goffi.org>
date Fri, 02 Jun 2023 16:49:28 +0200
parents libervia/__init__.py@ac2374c92294
children a44f77559279
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/libervia/web/__init__.py	Fri Jun 02 16:49:28 2023 +0200
@@ -0,0 +1,5 @@
+import os.path
+
+version_file = os.path.join(os.path.dirname(__file__), "VERSION")
+with open(version_file) as f:
+    __version__ = f.read().strip()