aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python/usrp_mpm
diff options
context:
space:
mode:
Diffstat (limited to 'mpm/python/usrp_mpm')
-rw-r--r--mpm/python/usrp_mpm/__init__.py3
-rw-r--r--mpm/python/usrp_mpm/periph_manager/__init__.py.in3
2 files changed, 6 insertions, 0 deletions
diff --git a/mpm/python/usrp_mpm/__init__.py b/mpm/python/usrp_mpm/__init__.py
index 00cbcc987..6b6b86d08 100644
--- a/mpm/python/usrp_mpm/__init__.py
+++ b/mpm/python/usrp_mpm/__init__.py
@@ -18,3 +18,6 @@ from . import cores
from . import chips
from . import gpsd_iface
from .mpmlog import get_main_logger
+
+__version__ = periph_manager.__version__
+__githash__ = periph_manager.__githash__
diff --git a/mpm/python/usrp_mpm/periph_manager/__init__.py.in b/mpm/python/usrp_mpm/periph_manager/__init__.py.in
index f507a6808..1a84ca3a4 100644
--- a/mpm/python/usrp_mpm/periph_manager/__init__.py.in
+++ b/mpm/python/usrp_mpm/periph_manager/__init__.py.in
@@ -7,6 +7,9 @@
periph_manager __init__.py
"""
+__version__ = "${MPM_VERSION_MAJOR}.${MPM_VERSION_API}.${MPM_VERSION_ABI}.${MPM_VERSION_PATCH}"
+__githash__ = "${MPM_GIT_HASH_RAW}"
+
from .base import PeriphManagerBase
# This is where the import magic happens