diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-02-25 09:59:33 +0100 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-02-25 13:34:16 +0100 |
| commit | 76dfa5db6ddd95bd4f8189425f64c1763970e7d3 (patch) | |
| tree | 603c1744f66715187ede11ab9c1ea8b5006a4034 /build_scripts/platforms/linux.py | |
| parent | fc1fce230e60091da90feec01e5507f7c30f3555 (diff) | |
PySide6: Do not install Qt Designer plugin when using PyPy
Task-number: PYSIDE-535
Change-Id: I681a79b684e15802294fd5094afe35de0ce92c8a
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'build_scripts/platforms/linux.py')
| -rw-r--r-- | build_scripts/platforms/linux.py | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/build_scripts/platforms/linux.py b/build_scripts/platforms/linux.py index 31e2613ef..a10200a3b 100644 --- a/build_scripts/platforms/linux.py +++ b/build_scripts/platforms/linux.py @@ -107,17 +107,19 @@ def prepare_standalone_package_linux(self, vars): vars=vars) if copy_plugins: + is_pypy = "pypy" in self.build_classifiers # <qt>/plugins/* -> <setup>/{st_package_name}/Qt/plugins plugins_target = "{st_build_dir}/{st_package_name}/Qt/plugins" copydir("{qt_plugins_dir}", plugins_target, filter=["*.so"], recursive=True, vars=vars) - copydir("{install_dir}/plugins/designer", - f"{plugins_target}/designer", - filter=["*.so"], - recursive=False, - vars=vars) + if not is_pypy: + copydir("{install_dir}/plugins/designer", + f"{plugins_target}/designer", + filter=["*.so"], + recursive=False, + vars=vars) copied_plugins = self.get_shared_libraries_in_path_recursively( plugins_target.format(**vars)) |
