From 22e24497a510c174e6de7718ad918a423d1973dd Mon Sep 17 00:00:00 2001 From: Andrej Rode Date: Thu, 9 Feb 2017 11:16:16 -0800 Subject: python: Initial commit of Python API Initial commit of the Python API using Boost.Python. Bind the MultiUSRP API for use in Python. Bindings intended to provide as complete coverage as possible. - Wrap most multi_usrp calls - Adding multi channel send/recv examples in examples/python - Adding setuptools support - Initial attempt at binding the UHD types and filters --- host/python/setup.py.in | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100755 host/python/setup.py.in (limited to 'host/python/setup.py.in') diff --git a/host/python/setup.py.in b/host/python/setup.py.in new file mode 100755 index 000000000..76044fe72 --- /dev/null +++ b/host/python/setup.py.in @@ -0,0 +1,44 @@ +#!/usr/bin/env python +# +# Copyright 2017 Ettus Research LLC +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# + + + +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 SDR', + author='Ettus Research', + author_email='packages@ettus.com', + url='https://www.ettus.com/', + license='GPLv3', + package_dir={ '': '${CMAKE_CURRENT_BINARY_DIR}' }, + package_data={"uhd": ["*.so"]}, + zip_safe=False, + packages=['uhd'], + install_requires=[ + 'numpy' + ]) -- cgit v1.2.3