diff options
author | Martin Braun <martin.braun@ettus.com> | 2024-02-13 12:02:48 +0100 |
---|---|---|
committer | Aki Tomita <121511582+atomita-ni@users.noreply.github.com> | 2024-02-25 16:54:12 -0600 |
commit | 16bab2eec437740fa023713d5b5579a4f00b1cc4 (patch) | |
tree | ec9e79b0aaca106aee812265cda40f378e4f6746 /host | |
parent | ci: give extra time after DUT reboot (diff) | |
download | uhd-16bab2eec437740fa023713d5b5579a4f00b1cc4.tar.xz uhd-16bab2eec437740fa023713d5b5579a4f00b1cc4.zip |
python: Explicitly list .mako files as part of Python package
Diffstat (limited to 'host')
-rwxr-xr-x | host/python/setup.py.in | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/host/python/setup.py.in b/host/python/setup.py.in index 39e284b4a..16089e374 100755 --- a/host/python/setup.py.in +++ b/host/python/setup.py.in @@ -8,7 +8,7 @@ from setuptools import setup, find_packages -packages = find_packages() +packages = find_packages() + ['uhd.imgbuilder.templates', 'uhd.imgbuilder.templates.modules'] print("Including packages in pyuhd:", packages) @@ -28,7 +28,11 @@ setup(name='uhd', url='https://www.ettus.com/', license='GPLv3', package_dir={'': r'${NATIVE_CURRENT_BINARY_DIR}'}, - package_data={'uhd': ['*.so']}, + package_data={ + 'uhd': ['*.so'], + 'uhd.imgbuilder.templates': ['*.mako'], + 'uhd.imgbuilder.templates.modules': ['*.mako'], + }, zip_safe=False, packages=packages, install_requires=['numpy']) |