|
@ -93,8 +93,12 @@ python3 -m venv $VENV_DIR |
|
|
source $VENV_DIR/bin/activate |
|
|
source $VENV_DIR/bin/activate |
|
|
|
|
|
|
|
|
info "Installing build dependencies" |
|
|
info "Installing build dependencies" |
|
|
python3 -m pip install --no-dependencies --no-warn-script-location -Ir ./contrib/deterministic-build/requirements-build-mac.txt \ |
|
|
python3 -m pip install --no-build-isolation --no-dependencies --no-warn-script-location \ |
|
|
|| fail "Could not install build dependencies" |
|
|
-Ir ./contrib/deterministic-build/requirements-build-base.txt \ |
|
|
|
|
|
|| fail "Could not install build dependencies (base)" |
|
|
|
|
|
python3 -m pip install --no-build-isolation --no-dependencies --no-warn-script-location \ |
|
|
|
|
|
-Ir ./contrib/deterministic-build/requirements-build-mac.txt \ |
|
|
|
|
|
|| fail "Could not install build dependencies (mac)" |
|
|
|
|
|
|
|
|
info "Using these versions for building $PACKAGE:" |
|
|
info "Using these versions for building $PACKAGE:" |
|
|
sw_vers |
|
|
sw_vers |
|
@ -155,19 +159,23 @@ cp "$PROJECT_ROOT"/electrum/libusb-1.0.dylib "$CONTRIB"/osx |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
info "Installing requirements..." |
|
|
info "Installing requirements..." |
|
|
python3 -m pip install --no-dependencies --no-warn-script-location -Ir ./contrib/deterministic-build/requirements.txt \ |
|
|
python3 -m pip install --no-build-isolation --no-dependencies --no-warn-script-location \ |
|
|
|
|
|
-Ir ./contrib/deterministic-build/requirements.txt \ |
|
|
|| fail "Could not install requirements" |
|
|
|| fail "Could not install requirements" |
|
|
|
|
|
|
|
|
info "Installing hardware wallet requirements..." |
|
|
info "Installing hardware wallet requirements..." |
|
|
python3 -m pip install --no-dependencies --no-warn-script-location -Ir ./contrib/deterministic-build/requirements-hw.txt \ |
|
|
python3 -m pip install --no-build-isolation --no-dependencies --no-warn-script-location \ |
|
|
|
|
|
-Ir ./contrib/deterministic-build/requirements-hw.txt \ |
|
|
|| fail "Could not install hardware wallet requirements" |
|
|
|| fail "Could not install hardware wallet requirements" |
|
|
|
|
|
|
|
|
info "Installing dependencies specific to binaries..." |
|
|
info "Installing dependencies specific to binaries..." |
|
|
python3 -m pip install --no-dependencies --no-warn-script-location -Ir ./contrib/deterministic-build/requirements-binaries-mac.txt \ |
|
|
python3 -m pip install --no-build-isolation --no-dependencies --no-warn-script-location \ |
|
|
|
|
|
-Ir ./contrib/deterministic-build/requirements-binaries-mac.txt \ |
|
|
|| fail "Could not install dependencies specific to binaries" |
|
|
|| fail "Could not install dependencies specific to binaries" |
|
|
|
|
|
|
|
|
info "Building $PACKAGE..." |
|
|
info "Building $PACKAGE..." |
|
|
python3 -m pip install --no-dependencies --no-warn-script-location . > /dev/null || fail "Could not build $PACKAGE" |
|
|
python3 -m pip install --no-build-isolation --no-dependencies \ |
|
|
|
|
|
--no-warn-script-location . > /dev/null || fail "Could not build $PACKAGE" |
|
|
|
|
|
|
|
|
info "Faking timestamps..." |
|
|
info "Faking timestamps..." |
|
|
find . -exec touch -t '200101220000' {} + || true |
|
|
find . -exec touch -t '200101220000' {} + || true |
|
|