electrum

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

commit dcecf7db4b735d668b23af49f5c31c3aea58963d
parent 0d1a473bb08b773d655884fe4479734cabd94713
Author: Axel Gembe <derago@gmail.com>
Date:   Thu,  4 Jul 2019 22:32:51 +0200

Wine Build: Make it less noisy

This suppresses the pip script location warnings, like we already
do for AppImage. It also disables the Wine debugging messages by
setting WINEDEBUG=-all.

-----

taken from Electron-Cash/Electron-Cash@d3685b038ef0dc3dc6a18345e51ff231c97623f5

Diffstat:
Mcontrib/build-wine/build-electrum-git.sh | 7++++---
Mcontrib/build-wine/prepare-wine.sh | 6+++---
2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/contrib/build-wine/build-electrum-git.sh b/contrib/build-wine/build-electrum-git.sh @@ -4,6 +4,7 @@ NAME_ROOT=electrum # These settings probably don't need any change export WINEPREFIX=/opt/wine64 +export WINEDEBUG=-all export PYTHONDONTWRITEBYTECODE=1 export PYTHONHASHSEED=22 @@ -42,14 +43,14 @@ popd # Install frozen dependencies -$PYTHON -m pip install -r "$CONTRIB"/deterministic-build/requirements.txt +$PYTHON -m pip install --no-warn-script-location -r "$CONTRIB"/deterministic-build/requirements.txt -$PYTHON -m pip install -r "$CONTRIB"/deterministic-build/requirements-hw.txt +$PYTHON -m pip install --no-warn-script-location -r "$CONTRIB"/deterministic-build/requirements-hw.txt pushd $WINEPREFIX/drive_c/electrum # see https://github.com/pypa/pip/issues/2195 -- pip makes a copy of the entire directory info "Pip installing Electrum. This might take a long time if the project folder is large." -$PYTHON -m pip install . +$PYTHON -m pip install --no-warn-script-location . popd diff --git a/contrib/build-wine/prepare-wine.sh b/contrib/build-wine/prepare-wine.sh @@ -21,7 +21,7 @@ PYTHON_VERSION=3.6.8 ## These settings probably don't need change export WINEPREFIX=/opt/wine64 -#export WINEARCH='win32' +export WINEDEBUG=-all PYTHON_FOLDER="python3" PYHOME="c:/$PYTHON_FOLDER" @@ -58,7 +58,7 @@ done info "Installing dependencies specific to binaries." # note that this also installs pinned versions of both pip and setuptools -$PYTHON -m pip install -r "$CONTRIB"/deterministic-build/requirements-binaries.txt +$PYTHON -m pip install --no-warn-script-location -r "$CONTRIB"/deterministic-build/requirements-binaries.txt info "Installing ZBar." download_if_not_exist "$CACHEDIR/$ZBAR_FILENAME" "$ZBAR_URL" @@ -107,6 +107,6 @@ info "Building PyInstaller." [[ -e PyInstaller/bootloader/Windows-32bit/runw.exe ]] || fail "Could not find runw.exe in target dir!" ) || fail "PyInstaller build failed" info "Installing PyInstaller." -$PYTHON -m pip install ./pyinstaller +$PYTHON -m pip install --no-warn-script-location ./pyinstaller info "Wine is configured."