From 8c631b92ce3fcbfa7a06c7dee0b9c9055d22f520 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Thu, 4 Dec 2025 13:00:15 +0100 Subject: [PATCH] [mod] setup.py package_data - use recursive globs for package_data To test this patch build a python wheel:: $ make clean py.build and llok out if you are missing any files in the wheel:: $ unzip -l dist/searxng-*-py3-none-any.whl Signed-off-by: Markus Heiser --- setup.py | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/setup.py b/setup.py index 1388b5fe6..2f3667b6e 100644 --- a/setup.py +++ b/setup.py @@ -59,15 +59,10 @@ setup( 'data/*.txt', 'data/*.ftz', 'favicons/*.toml', - 'infopage/*/*', - 'static/themes/*', - 'static/themes/*/*', - 'static/themes/*/*/*', - 'templates/*/*', - 'templates/*/*/*', - 'translations/*', - 'translations/*/*', - 'translations/*/*/*', + 'infopage/**', + 'static/**', + 'templates/**', + 'translations/**', ], }, install_requires=requirements,