tAppImage: Remove Qt.so to prevent importing from PyQt5.Qt - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 5afda62ee32b1a5d37ee4033b9f7ed8e8951e50c DIR parent c3b92aa13a3a205cf55e5dc3bbf22ca804edd499 HTML Author: Axel Gembe <derago@gmail.com> Date: Wed, 15 May 2019 19:03:18 +0200 AppImage: Remove Qt.so to prevent importing from PyQt5.Qt Importing from PyQt5.Qt is an unnecessary fallback that loads every PyQt5 module. ----- ttaken from Electron-Cash/Electron-Cash@d69471b31d1f25a703588f48ee0cc5afdf1f1f2f Diffstat: M contrib/build-linux/appimage/build… | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) --- DIR diff --git a/contrib/build-linux/appimage/build.sh b/contrib/build-linux/appimage/build.sh t@@ -187,6 +187,8 @@ rm -rf "$APPDIR"/usr/lib/python3.6/site-packages/PyQt5/Qt/lib/libQt5Quick* rm -rf "$APPDIR"/usr/lib/python3.6/site-packages/PyQt5/Qt/lib/libQt5Location* rm -rf "$APPDIR"/usr/lib/python3.6/site-packages/PyQt5/Qt/lib/libQt5Test* rm -rf "$APPDIR"/usr/lib/python3.6/site-packages/PyQt5/Qt/lib/libQt5Xml* +rm -rf "$APPDIR"/usr/lib/python3.6/site-packages/PyQt5/Qt.so + # these are deleted as they were not deterministic; and are not needed anyway find "$APPDIR" -path '*/__pycache__*' -delete