uhd/mpm/python/usrp_mpm/periph_manager/__init__.py.in
Martin Braun a5b87ab7c4 mpm: cmake: Add git hash and version info to Python module
Reviewed-by: Brent Stapleton <brent.stapleton@ettus.com>
2018-04-02 15:27:05 -07:00

16 lines
420 B
Python

#
# Copyright 2017 Ettus Research, a National Instruments Company
#
# SPDX-License-Identifier: GPL-3.0-or-later
#
"""
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
from .${MPM_DEVICE} import ${MPM_DEVICE} as periph_manager