Files
RoboMovel/app/robomovel-esp32-joystick-app/p4a-android-wheel.patch
T
mguinhos 43fae8237a Base movel: firmware ESP32 com API REST, OTA e canal pipe.ovelha.cloud
- software/firmware/RoboMovel_CNCV3_ESP32_REST: firmware para Wemos D1 R32 + CNC Shield V3
  (4 NEMA17 mecanum), API REST (/move, /stop, /status, /wifi), redes Wi-Fi salvas,
  gravacao pelo Wi-Fi (ota.sh), descoberta por broadcast UDP 4210 e cliente do canal
  publico pipe.ovelha.cloud. Senhas das redes padrao ficam em redes_padrao.h (fora do git).
- software/pipe-ovelha: servidor do canal publico (aiohttp) com nginx e servico systemd.
- app/robomovel-esp32-joystick-app: app Kivy so com joystick, busca automatica do robo
  na rede local e uso do pipe.ovelha.cloud pela internet.
- compilar_apk.sh: corrige caminhos do autotools local (autom4te.cfg e libtoolize).
- Remove backup .lbrn2 da chapa base.
2026-11-12 07:06:02 -03:00

29 lines
1.2 KiB
Diff

diff --git a/pythonforandroid/build.py b/pythonforandroid/build.py
index d88fdb1f..25b4bba2 100644
--- a/pythonforandroid/build.py
+++ b/pythonforandroid/build.py
@@ -790,7 +790,10 @@ def process_python_modules(ctx, modules, arch):
pure_python = True
if (
- filename.endswith(".whl") and not is_wheel_compatible(filename, arch, ctx)
+ filename.endswith(".whl") and (
+ "android" in filename
+ or not is_wheel_compatible(filename, arch, ctx)
+ )
):
any_not_pure_python = True
pure_python = False
@@ -873,10 +876,7 @@ def run_pymodules_install(ctx, arch, modules, project_dir=None,
# Prepare base environment and upgrade pip:
base_env = dict(copy.copy(os.environ))
base_env["PYTHONPATH"] = ctx.get_site_packages_dir(arch)
- info('Upgrade pip to latest version')
- shprint(sh.bash, '-c', (
- "source venv/bin/activate && pip install -U pip"
- ), _env=copy.copy(base_env))
+ info('Using the pip bundled with hostpython (no self-upgrade)')
# Install Cython in case modules need it to build:
info('Install Cython in case one of the modules needs it to build')