binaries: pip install build requirements first
I no longer trust pip to install packages from a requirements.txt file in the correct order. For reproducibility, let's install pip/setuptools/wheels/cython first. see https://github.com/pypa/pip/issues/2362#issuecomment-418423458 see #5859 and #6382
This commit is contained in:
@@ -113,8 +113,11 @@ info "preparing electrum-locale."
|
||||
)
|
||||
|
||||
|
||||
info "installing electrum and its dependencies."
|
||||
info "Installing build dependencies."
|
||||
mkdir -p "$CACHEDIR/pip_cache"
|
||||
"$python" -m pip install --no-dependencies --no-warn-script-location --cache-dir "$CACHEDIR/pip_cache" -r "$CONTRIB/deterministic-build/requirements-appimage-build.txt"
|
||||
|
||||
info "installing electrum and its dependencies."
|
||||
"$python" -m pip install --no-dependencies --no-warn-script-location --cache-dir "$CACHEDIR/pip_cache" -r "$CONTRIB/deterministic-build/requirements.txt"
|
||||
"$python" -m pip install --no-dependencies --no-warn-script-location --cache-dir "$CACHEDIR/pip_cache" -r "$CONTRIB/deterministic-build/requirements-binaries.txt"
|
||||
"$python" -m pip install --no-dependencies --no-warn-script-location --cache-dir "$CACHEDIR/pip_cache" -r "$CONTRIB/deterministic-build/requirements-hw.txt"
|
||||
|
||||
Reference in New Issue
Block a user