From a5b87ab7c4a6834acc7587ffc4a769854b9d48b4 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Fri, 30 Mar 2018 14:19:35 -0700 Subject: mpm: cmake: Add git hash and version info to Python module Reviewed-by: Brent Stapleton --- mpm/python/usrp_mpm/__init__.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mpm/python/usrp_mpm/__init__.py') 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__ -- cgit v1.2.3