diff --git a/contrib/build-wine/build-electrum-git.sh b/contrib/build-wine/build-electrum-git.sh index 86aa6a910..b4e64115a 100755 --- a/contrib/build-wine/build-electrum-git.sh +++ b/contrib/build-wine/build-electrum-git.sh @@ -35,13 +35,21 @@ find -exec touch -h -d '2000-11-11T11:11:11+00:00' {} + popd -# Install frozen dependencies -$WINE_PYTHON -m pip install --no-build-isolation --no-dependencies --no-warn-script-location \ +# opt out of compiling C extensions +export AIOHTTP_NO_EXTENSIONS=1 +export YARL_NO_EXTENSIONS=1 +export MULTIDICT_NO_EXTENSIONS=1 +export FROZENLIST_NO_EXTENSIONS=1 + +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...) $WINE_PYTHON -m pip install --no-build-isolation --no-dependencies --no-warn-script-location \ --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 \ --cache-dir "$WINE_PIP_CACHE_DIR" -r "$CONTRIB"/deterministic-build/requirements-hw.txt diff --git a/contrib/build-wine/prepare-wine.sh b/contrib/build-wine/prepare-wine.sh index 4c2c72931..25afeba73 100755 --- a/contrib/build-wine/prepare-wine.sh +++ b/contrib/build-wine/prepare-wine.sh @@ -53,7 +53,7 @@ break_legacy_easy_install info "Installing build dependencies." $WINE_PYTHON -m pip install --no-build-isolation --no-dependencies --no-warn-script-location \ --cache-dir "$WINE_PIP_CACHE_DIR" -r "$CONTRIB"/deterministic-build/requirements-build-base.txt -$WINE_PYTHON -m pip install --no-build-isolation --no-dependencies --no-warn-script-location \ +$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-build-wine.txt info "Installing NSIS."