annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1124
28e3eb3bb217 files reorganisation and installation rework:
Goffi <goffi@goffi.org>
parents: 861
diff changeset
1 import os.path
28e3eb3bb217 files reorganisation and installation rework:
Goffi <goffi@goffi.org>
parents: 861
diff changeset
2
28e3eb3bb217 files reorganisation and installation rework:
Goffi <goffi@goffi.org>
parents: 861
diff changeset
3 version_file = os.path.join(os.path.dirname(__file__), "VERSION")
1439
ac2374c92294 remove old pyjamas workaround
Goffi <goffi@goffi.org>
parents: 1183
diff changeset
4 with open(version_file) as f:
ac2374c92294 remove old pyjamas workaround
Goffi <goffi@goffi.org>
parents: 1183
diff changeset
5 __version__ = f.read().strip()