Browse Source

win build: tighten `pip install` with `--no-binary` somewhat

related https://github.com/spesmilo/electrum/pull/7918
master
SomberNight 3 years ago
parent
commit
9b14b87936
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
  1. 5
      contrib/build-wine/build-electrum-git.sh

5
contrib/build-wine/build-electrum-git.sh

@ -37,12 +37,13 @@ info "Installing requirements..."
$WINE_PYTHON -m pip install --no-build-isolation --no-dependencies --no-binary :all: --no-warn-script-location \
--cache-dir "$WINE_PIP_CACHE_DIR" -r "$CONTRIB"/deterministic-build/requirements.txt
info "Installing dependencies specific to binaries..."
# TODO use "--no-binary :all:" (but we don't have a C compiler...)
# TODO tighten "--no-binary :all:" (but we don't have a C compiler...)
$WINE_PYTHON -m pip install --no-build-isolation --no-dependencies --no-warn-script-location \
--no-binary :all: --only-binary cffi,cryptography,PyQt5,PyQt5-Qt5,PyQt5-sip \
--cache-dir "$WINE_PIP_CACHE_DIR" -r "$CONTRIB"/deterministic-build/requirements-binaries.txt
info "Installing hardware wallet requirements..."
# TODO use "--no-binary :all:" (but we don't have a C compiler...)
$WINE_PYTHON -m pip install --no-build-isolation --no-dependencies --no-warn-script-location \
--no-binary :all: --only-binary cffi,cryptography,hidapi \
--cache-dir "$WINE_PIP_CACHE_DIR" -r "$CONTRIB"/deterministic-build/requirements-hw.txt
pushd $WINEPREFIX/drive_c/electrum

Loading…
Cancel
Save