build: (reproducibility) always uses "pip install" with "--no-build-isolation"
fixes https://github.com/spesmilo/electrum/issues/7737
fixes https://github.com/spesmilo/electrum/issues/7736
related 8559d1eb72
This commit is contained in:
@@ -108,7 +108,9 @@ info "preparing electrum-locale."
|
||||
|
||||
|
||||
info "Installing build dependencies."
|
||||
"$python" -m pip install --no-dependencies --no-binary :all: --no-warn-script-location \
|
||||
"$python" -m pip install --no-build-isolation --no-dependencies --no-warn-script-location \
|
||||
--cache-dir "$PIP_CACHE_DIR" -r "$CONTRIB/deterministic-build/requirements-build-base.txt"
|
||||
"$python" -m pip install --no-build-isolation --no-dependencies --no-binary :all: --no-warn-script-location \
|
||||
--cache-dir "$PIP_CACHE_DIR" -r "$CONTRIB/deterministic-build/requirements-build-appimage.txt"
|
||||
|
||||
info "installing electrum and its dependencies."
|
||||
@@ -116,14 +118,14 @@ info "installing electrum and its dependencies."
|
||||
# hence "--no-binary :all:" flags. However, we specifically allow
|
||||
# - PyQt5, as it's harder to build from source
|
||||
# - cryptography, as building it would need openssl 1.1, not available on ubuntu 16.04
|
||||
"$python" -m pip install --no-dependencies --no-binary :all: --no-warn-script-location \
|
||||
"$python" -m pip install --no-build-isolation --no-dependencies --no-binary :all: --no-warn-script-location \
|
||||
--cache-dir "$PIP_CACHE_DIR" -r "$CONTRIB/deterministic-build/requirements.txt"
|
||||
"$python" -m pip install --no-dependencies --no-binary :all: --only-binary PyQt5,PyQt5-Qt5,cryptography --no-warn-script-location \
|
||||
"$python" -m pip install --no-build-isolation --no-dependencies --no-binary :all: --only-binary PyQt5,PyQt5-Qt5,cryptography --no-warn-script-location \
|
||||
--cache-dir "$PIP_CACHE_DIR" -r "$CONTRIB/deterministic-build/requirements-binaries.txt"
|
||||
"$python" -m pip install --no-dependencies --no-binary :all: --no-warn-script-location \
|
||||
"$python" -m pip install --no-build-isolation --no-dependencies --no-binary :all: --no-warn-script-location \
|
||||
--cache-dir "$PIP_CACHE_DIR" -r "$CONTRIB/deterministic-build/requirements-hw.txt"
|
||||
|
||||
"$python" -m pip install --no-dependencies --no-warn-script-location \
|
||||
"$python" -m pip install --no-build-isolation --no-dependencies --no-warn-script-location \
|
||||
--cache-dir "$PIP_CACHE_DIR" "$PROJECT_ROOT"
|
||||
|
||||
# was only needed during build time, not runtime
|
||||
|
||||
Reference in New Issue
Block a user