diff options
| author | Cristián Maureira-Fredes <cristian.maureira-fredes@qt.io> | 2023-03-06 13:42:27 +0100 |
|---|---|---|
| committer | Cristián Maureira-Fredes <Cristian.Maureira-Fredes@qt.io> | 2023-03-21 13:49:42 +0100 |
| commit | ffb87075e3c4ea4b0a2dd15321af8c1921e33164 (patch) | |
| tree | de244668134396b72ca56accbe060298edc4a337 /build_scripts/platforms/unix.py | |
| parent | c38b238f8633f1806ee837f839afcb184455ca44 (diff) | |
build: remove examples from wheels and installation
To reduce the size and cluttering of wheels and installations
the examples are not including any longer.
The recommended way to get examples now is to download them
directly from the Example Gallery in the documentation page.
The option no-examples was removed.
[ChangeLog][pyside6] Examples are not included in the wheels anymore
and the option no-example was removed.
Change-Id: I94fb24f9ffd6c55e2762e7c2e380b0f0ffe0bf61
Fixes: PYSIDE-2247
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'build_scripts/platforms/unix.py')
| -rw-r--r-- | build_scripts/platforms/unix.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/build_scripts/platforms/unix.py b/build_scripts/platforms/unix.py index a97a94019..0c26297e2 100644 --- a/build_scripts/platforms/unix.py +++ b/build_scripts/platforms/unix.py @@ -202,16 +202,6 @@ def prepare_packages_posix(pyside_build, _vars, cross_build=False): _filter=["*.pyi", "py.typed"], _vars=_vars) - if not OPTION["NOEXAMPLES"] and not is_android: - def pycache_dir_filter(dir_name, parent_full_path, dir_full_path): - if fnmatch.fnmatch(dir_name, "__pycache__"): - return False - return True - # examples/* -> <setup>/{st_package_name}/examples - copydir(Path(pyside_build.script_dir) / "examples", - "{st_build_dir}/{st_package_name}/examples", - force=False, _vars=_vars, dir_filter_function=pycache_dir_filter) - # copy the jar files if is_android: copydir( |
