From b067f541b46e0544a336629f7c4e2688e9465b67 Mon Sep 17 00:00:00 2001 From: Cristian Maureira-Fredes Date: Sat, 24 Nov 2018 18:47:33 +0100 Subject: Install snippets glue code The module-specific glue files as well as the standalone glue files are now installed into the PySide2 package. The glue files are now also listed as dependencies for the shiboken generator run, which means that modifying those files will now correctly force a shiboken re-run for the relevant modules. Change-Id: I545c7ada379fafb7f225d0b0f5ce495bf6d4795d Reviewed-by: Friedemann Kleint Reviewed-by: Cristian Maureira-Fredes --- build_scripts/platforms/unix.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'build_scripts/platforms/unix.py') diff --git a/build_scripts/platforms/unix.py b/build_scripts/platforms/unix.py index 7dce11612..fc56992f4 100644 --- a/build_scripts/platforms/unix.py +++ b/build_scripts/platforms/unix.py @@ -170,6 +170,13 @@ def prepare_packages_posix(self, vars): "{st_build_dir}/{st_package_name}/typesystems", vars=vars) + # /share/{st_package_name}/glue/* -> + # /{st_package_name}/glue + copydir( + "{install_dir}/share/{st_package_name}/glue", + "{st_build_dir}/{st_package_name}/glue", + vars=vars) + # /pyside2/{st_package_name}/support/* -> # /{st_package_name}/support/* copydir( -- cgit v1.2.3