File: setup.py.in

package info (click to toggle)
uhd 4.9.0.0%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 184,180 kB
  • sloc: cpp: 262,887; python: 112,011; ansic: 102,670; vhdl: 57,031; tcl: 19,924; xml: 8,581; makefile: 3,028; sh: 2,812; pascal: 230; javascript: 120; csh: 94; asm: 20; perl: 11
file content (45 lines) | stat: -rwxr-xr-x 1,425 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#!/usr/bin/env python3
"""Setup file for uhd module.

Copyright 2017-2018 Ettus Research, a National Instruments Company

SPDX-License-Identifier: GPL-3.0-or-later
"""

from setuptools import find_packages, setup

packages = find_packages() + [
    "uhd.rfnoc_utils.templates",
    "uhd.rfnoc_utils.templates.modules",
    "uhd.rfnoc_utils.modtool_commands",
]

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",
        "Programming Language :: C++",
        "Programming Language :: Python",
        "Topic :: System :: Hardware :: Hardware Drivers",
    ],
    keywords="SDR UHD USRP",
    author="Ettus Research",
    author_email="uhd.maintainer@emerson.com",
    url="https://www.ettus.com/",
    license="GPLv3",
    package_dir={"": r"${NATIVE_CURRENT_BINARY_DIR}"},
    package_data={
        "uhd": ["*.so"],
        "uhd.rfnoc_utils.templates": ["*.mako"],
        "uhd.rfnoc_utils.templates.modules": ["*.mako"],
        "uhd.rfnoc_utils.modtool_commands": ["*.yml"],
    },
    zip_safe=False,
    packages=packages,
    install_requires=["numpy", "ruamel.yaml", "mako"],
    entry_points={"console_scripts": ["rfnoc_modtool = uhd.rfnoc_utils.rfnoc_modtool:main"]},
)