uhd/host/python/setup.py.in
Trung Tran 1dbc0229b7 python: cmake: Use native format for setup.py
setuptools isn't compatible with Unix style path on Windows 10
machines. We need to convert any path before running setuptools.

Signed-off-by: Trung Tran <trung.tran@ettus.com>
2019-02-25 15:20:47 -08:00

30 lines
1 KiB
Python
Executable file

#!/usr/bin/env python
#
# 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
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']},
zip_safe=False,
packages=['uhd'],
install_requires=['numpy'])