mirror of
https://github.com/saymrwulf/uhd.git
synced 2026-05-16 21:10:10 +00:00
38 lines
1.3 KiB
Python
Executable file
38 lines
1.3 KiB
Python
Executable file
#!/usr/bin/env python3
|
|
#
|
|
# Copyright 2017-2018 Ettus Research, a National Instruments Company
|
|
#
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
#
|
|
"""Setup file for uhd module"""
|
|
|
|
from setuptools import setup, find_packages
|
|
|
|
packages = find_packages() + ['uhd.imgbuilder.templates', 'uhd.imgbuilder.templates.modules']
|
|
|
|
print("Including packages in pyuhd:", packages)
|
|
|
|
setup(name='uhd',
|
|
version='${UHD_VERSION_MAJOR}.${UHD_VERSION_API}.${UHD_VERSION_ABI}',
|
|
description='Universal Software Radio Peripheral (USRP) Hardware Driver 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',
|
|
author='Ettus Research',
|
|
author_email='packages@ettus.com',
|
|
url='https://www.ettus.com/',
|
|
license='GPLv3',
|
|
package_dir={'': r'${NATIVE_CURRENT_BINARY_DIR}'},
|
|
package_data={
|
|
'uhd': ['*.so'],
|
|
'uhd.imgbuilder.templates': ['*.mako'],
|
|
'uhd.imgbuilder.templates.modules': ['*.mako'],
|
|
},
|
|
zip_safe=False,
|
|
packages=packages,
|
|
install_requires=['numpy'])
|