Mercurial > libervia-web
annotate libervia/web/__init__.py @ 1519:01b8d68edd70
version: use standard Python's `dev0` instead of Libervia specific `D` for dev version
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 06 Jun 2023 17:40:16 +0200 |
parents | eb00d593801d |
children | a44f77559279 |
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 | 4 with open(version_file) as f: |
5 __version__ = f.read().strip() |