annotate src/__init__.py @ 856:fd438e51bda8

server: version check: - added C.APP_VERSIOn to server/constants, to override value from sat.core.constants, this allow checking version mismatch - libervia.__version__ is set - in case of version mismatch with sat module version, an error message is printend and execution is stopped
author Goffi <goffi@goffi.org>
date Sun, 24 Jan 2016 18:45:35 +0100
parents 981ed669d3b3
children 5cefc6ab302f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
856
fd438e51bda8 server: version check:
Goffi <goffi@goffi.org>
parents: 449
diff changeset
1 from server.constants import Const as C
fd438e51bda8 server: version check:
Goffi <goffi@goffi.org>
parents: 449
diff changeset
2
fd438e51bda8 server: version check:
Goffi <goffi@goffi.org>
parents: 449
diff changeset
3 __version__ = C.APP_VERSION