From 9cc5ecc909e21740b563180c0bd3ef37d9e14509 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Wed, 31 May 2023 13:27:46 -0700 Subject: [PATCH] *: Fix icons not present in the generated .deb Closes: #2352. Perform a recursive glob with '**' when performing search files to installed from static folder so that icons files are found and installed as extra package data. Tests: - Build a .deb package and confirm that none of the icons files have been installed into /usr/lib/python3/dist-packages/plinth directory. With the fix, rebuild the package and confirm that .png and .svg files are present at least some plinth/modules/*/static/icons/* path. Signed-off-by: Sunil Mohan Adapa Reviewed-by: James Valleroy --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index aae4ce7d8..ccf2aa74f 100755 --- a/setup.py +++ b/setup.py @@ -319,7 +319,7 @@ setuptools.setup( 'tomli', ], package_data={ - '': ['templates/*', 'static/*', 'locale/*/LC_MESSAGES/*.mo'] + '': ['templates/*', 'static/**', 'locale/*/LC_MESSAGES/*.mo'] }, exclude_package_data={'': ['*/data/*']}, data_files=_gather_data_files() +