diff --git a/scripts/build-android-wheels-local.sh b/scripts/build-android-wheels-local.sh index b2d9fe1..2222471 100755 --- a/scripts/build-android-wheels-local.sh +++ b/scripts/build-android-wheels-local.sh @@ -12,7 +12,7 @@ This script: 4) Optionally patches LXST wheel metadata for local Android constraints 5) Builds every recipe under android/chaquopy-recipes/ for each requested ABI (currently: cryptography, miniaudio) -6) Copies outputs to android/vendor +6) Copies outputs to android/vendor (includes caching bleak-*.whl for Chaquopy --find-links) Usage: scripts/build-android-wheels-local.sh [options] @@ -735,6 +735,14 @@ PY done fi +echo "Caching bleak pure wheel (${PYTHON_MINOR}) for Chaquopy --find-links" +"${VENV_DIR}/bin/pip" download \ + --only-binary=:all: \ + --no-deps \ + --python-version "${PYTHON_MINOR/./}" \ + --dest "${OUT_DIR}" \ + "bleak==3.0.1" + echo "Done." echo "Built wheels in: ${OUT_DIR}" ls -1 "${OUT_DIR}" | sort