win build: force using source dist for some of our python dependencies
Instead of using pre-built binary wheels from PyPI. We should tighten this more (re other requirements-*.txt files), but there is no C compiler available inside the wine environment atm...
This commit is contained in:
@@ -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 \
|
||||
--cache-dir "$WINE_PIP_CACHE_DIR" -r "$CONTRIB"/deterministic-build/requirements.txt
|
||||
# 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
|
||||
|
||||
|
||||
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user