summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2025-12-04 13:00:15 +0100
committerMarkus Heiser <markus.heiser@darmarIT.de>2025-12-04 15:04:36 +0100
commit8c631b92ce3fcbfa7a06c7dee0b9c9055d22f520 (patch)
treef9350893e55a306c43e7e27830ac9eb9d1dede8d
parent0ebac144f561fdbc127de826fc060c2bc3d8e4ea (diff)
[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 <markus.heiser@darmarit.de>
-rw-r--r--setup.py13
1 files 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,