From 0d1a473bb08b773d655884fe4479734cabd94713 Mon Sep 17 00:00:00 2001 From: Axel Gembe Date: Thu, 4 Jul 2019 22:31:56 +0200 Subject: [PATCH] AppImage: Disable pip warnings about script install locations It warns about scripts being installed in a location that is not on the path, but that is inconsequential as they are not used. ----- taken from Electron-Cash/Electron-Cash@9a29017c5d8906bb04f7e188bf483b0d3ff698f4 --- contrib/build-linux/appimage/build.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/contrib/build-linux/appimage/build.sh b/contrib/build-linux/appimage/build.sh index 64ff0938b..60827c0bc 100755 --- a/contrib/build-linux/appimage/build.sh +++ b/contrib/build-linux/appimage/build.sh @@ -132,10 +132,10 @@ info "preparing electrum-locale." info "installing electrum and its dependencies." mkdir -p "$CACHEDIR/pip_cache" -"$python" -m pip install --cache-dir "$CACHEDIR/pip_cache" -r "$CONTRIB/deterministic-build/requirements.txt" -"$python" -m pip install --cache-dir "$CACHEDIR/pip_cache" -r "$CONTRIB/deterministic-build/requirements-binaries.txt" -"$python" -m pip install --cache-dir "$CACHEDIR/pip_cache" -r "$CONTRIB/deterministic-build/requirements-hw.txt" -"$python" -m pip install --cache-dir "$CACHEDIR/pip_cache" "$PROJECT_ROOT" +"$python" -m pip install --no-warn-script-location --cache-dir "$CACHEDIR/pip_cache" -r "$CONTRIB/deterministic-build/requirements.txt" +"$python" -m pip install --no-warn-script-location --cache-dir "$CACHEDIR/pip_cache" -r "$CONTRIB/deterministic-build/requirements-binaries.txt" +"$python" -m pip install --no-warn-script-location --cache-dir "$CACHEDIR/pip_cache" -r "$CONTRIB/deterministic-build/requirements-hw.txt" +"$python" -m pip install --no-warn-script-location --cache-dir "$CACHEDIR/pip_cache" "$PROJECT_ROOT" info "copying zbar"