electrum

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

commit 4406eebbfef0ccd0a748b4bf4bf190f3c612a6a0
parent 80025a3af4fa6e456aeac089d41ff4530755b818
Author: Axel Gembe <derago@gmail.com>
Date:   Wed, 22 Jan 2020 12:27:17 +0100

Build: Uninstall Cython from AppImage

Cython is not needed at runtime.

-----

taken from https://github.com/Electron-Cash/Electron-Cash/commit/c64910055dad6bdcbd01b01121352d2fa3fedb40

related #5859

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

diff --git a/contrib/build-linux/appimage/build.sh b/contrib/build-linux/appimage/build.sh @@ -138,6 +138,9 @@ mkdir -p "$CACHEDIR/pip_cache" "$python" -m pip install --no-dependencies --no-warn-script-location --cache-dir "$CACHEDIR/pip_cache" -r "$CONTRIB/deterministic-build/requirements-hw.txt" "$python" -m pip install --no-dependencies --no-warn-script-location --cache-dir "$CACHEDIR/pip_cache" "$PROJECT_ROOT" +# was only needed during build time, not runtime +"$python" -m pip uninstall -y Cython + info "copying zbar" cp "/usr/lib/x86_64-linux-gnu/libzbar.so.0" "$APPDIR/usr/lib/libzbar.so.0" @@ -203,8 +206,6 @@ rm -rf "$PYDIR"/{ctypes,sqlite3,tkinter,unittest}/test rm -rf "$PYDIR"/distutils/{command,tests} rm -rf "$PYDIR"/config-3.7m-x86_64-linux-gnu rm -rf "$PYDIR"/site-packages/{opt,pip,setuptools,wheel} -rm -rf "$PYDIR"/site-packages/Cython/Tests -rm -rf "$PYDIR"/site-packages/Cython/*/Tests rm -rf "$PYDIR"/site-packages/Cryptodome/SelfTest rm -rf "$PYDIR"/site-packages/{psutil,qrcode,websocket}/tests for component in connectivity declarative help location multimedia quickcontrols2 serialport webengine websockets xmlpatterns ; do