From 022aa17e30b985fb5d841fcc923541ed1661706a Mon Sep 17 00:00:00 2001 From: Ivan Date: Wed, 29 Apr 2026 18:28:12 -0500 Subject: [PATCH] feat(build): update build script --- scripts/build-android-wheels-local.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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