aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2024-02-13 12:02:48 +0100
committerAki Tomita <121511582+atomita-ni@users.noreply.github.com>2024-02-25 16:54:12 -0600
commit16bab2eec437740fa023713d5b5579a4f00b1cc4 (patch)
treeec9e79b0aaca106aee812265cda40f378e4f6746
parentci: give extra time after DUT reboot (diff)
downloaduhd-16bab2eec437740fa023713d5b5579a4f00b1cc4.tar.xz
uhd-16bab2eec437740fa023713d5b5579a4f00b1cc4.zip
python: Explicitly list .mako files as part of Python package
-rwxr-xr-xhost/python/setup.py.in8
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'])