aboutsummaryrefslogtreecommitdiff
path: root/libs/plugin_python/src/pybind11-qt/pybind11_qt_sip.cpp
diff options
context:
space:
mode:
authorSulfurNitride <SulfurNitride@users.noreply.github.com>2026-05-15 17:13:41 -0500
committerSulfurNitride <lukew19@proton.me>2026-05-16 12:57:25 -0500
commitfe424eef00692482b859c9b23e86b8fb814754fd (patch)
tree35e7330e6fee6120baf8475226377fcefaddfea4 /libs/plugin_python/src/pybind11-qt/pybind11_qt_sip.cpp
parentf782b0ca53b2353011ebc517302f1509690040ee (diff)
package: prune unused PyQt6 modules and dedupe lib/
Shrinks the staging tree by ~27 MB (~250M -> ~223M) via two changes in docker/build-inner.sh: 1. PyQt6 prune. Allowlist QtCore/QtGui/QtWidgets/QtOpenGL/QtOpenGLWidgets (confirmed by full-repo grep of all shipped Python plugins). Drop the remaining ~30 .abi3.so bindings plus bindings/, uic/, lupdate/, every .pyi stub, every __pycache__. Pruning runs BEFORE the existing ldd-scan loop, so libQt6Designer/Help/Sql/Test/SvgWidgets/Bluetooth/... stop getting pulled into lib/ as a side effect. plugins/libs/PyQt6: 31M -> 14M. 2. Dedupe lib/. cp -Lf on globs like libboost_program_options.so* stages the unversioned soname and the versioned SO as identical real files. Adds a post-bundling pass that, for each *.so / *.so.N file, finds a byte-identical versioned twin via cmp -s and replaces it with a symlink. Skips existing symlinks. Fixes the boost_program_options, boost_thread, and xcb-cursor duplicates that have been here from the start. Also removes the now-orphan fluorine_vfs.dll / fluorine_vfs_hid.dll / libfluorine_vfs_preload.so staging block left behind after the VFS shim removal in 2ed0704f. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'libs/plugin_python/src/pybind11-qt/pybind11_qt_sip.cpp')
0 files changed, 0 insertions, 0 deletions