uhd/mpm/python/setup.py.in
Toni Jones 902f458137 cmake: Add RegMaps build component to MPM
Add RegMaps build component to MPM. The PYTHON_CHECK_MODULE is
included from UHDPython in order to look up the presence of Mako.
Mako is required for generating the regmaps and RegMap will be
disabled without it. The RegMaps component creates custom commands for
generating all regmaps, creates a Python submodule "ic_reg_maps" with a
custom __init__.py file, and creates a target "ic_reg_maps" which gets
installed with usrp_mpm.
2021-03-01 15:57:01 -06:00

48 lines
1.4 KiB
Python
Executable file

#!/usr/bin/env python
#
# Copyright 2017 Ettus Research, a National Instruments Company
#
# SPDX-License-Identifier: GPL-3.0-or-later
#
"""
USRP/MPM
"""
from setuptools import setup
setup(name='usrp_mpm',
version='0.0.0',
description='Universal Software Radio Peripheral (USRP) Machiavellian Puppet Master (MPM) Python API',
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Programming Language :: C++',
'Programming Language :: Python',
'Topic :: System :: Hardware :: Hardware Drivers',
],
keywords='SDR UHD USRP SDR',
author='Ettus Research',
author_email='packages@ettus.com',
url='https://www.ettus.com/',
license='GPLv3',
package_dir={'': '${CMAKE_CURRENT_BINARY_DIR}'},
package_data={"usrp_mpm": ["*.so"]},
zip_safe=False,
packages=[
'usrp_mpm',
'usrp_mpm.periph_manager',
'usrp_mpm.dboard_manager',
'usrp_mpm.chips',
'usrp_mpm.chips.ic_reg_maps',
'usrp_mpm.cores',
'usrp_mpm.sys_utils',
'usrp_mpm.xports',
'usrp_mpm.simulator',
],
install_requires=[
'mprpc',
'systemd-python',
'pyroute2',
'pyudev'
],
tests_require=['pytest', 'pylint'])