Mercurial > libervia-backend
annotate src/__init__.py @ 2443:81a45e7886c9
core: added a mechanism to associate short names to namespaces:
- new internal registerNamespace can be used by a plugin to associate a short name to a namespace
- new NamespacesGet bridge method retrieve those associations
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 19 Nov 2017 16:46:07 +0100 |
parents | 1128feb54180 |
children |
rev | line source |
---|---|
1935
1128feb54180
core: removed pyfeed and xe dependencies:
Goffi <goffi@goffi.org>
parents:
1470
diff
changeset
|
1 from .core.constants import Const as C |
1470
8bfbf5cb0e28
core: moved __version__ to __init__.py, so we can check version by doing "import sat;print(sat.__version__)"
Goffi <goffi@goffi.org>
parents:
224
diff
changeset
|
2 |
8bfbf5cb0e28
core: moved __version__ to __init__.py, so we can check version by doing "import sat;print(sat.__version__)"
Goffi <goffi@goffi.org>
parents:
224
diff
changeset
|
3 __version__ = C.APP_VERSION |