electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 5afda62ee32b1a5d37ee4033b9f7ed8e8951e50c
parent c3b92aa13a3a205cf55e5dc3bbf22ca804edd499
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.

-----

taken from Electron-Cash/Electron-Cash@d69471b31d1f25a703588f48ee0cc5afdf1f1f2f

Diffstat:
Mcontrib/build-linux/appimage/build.sh | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/contrib/build-linux/appimage/build.sh b/contrib/build-linux/appimage/build.sh @@ -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