Files
RoboMovel/app/robomovel-demo-api-app/p4a-android-wheel.patch
T
mguinhos d17575771b Projeto: app demo, servidor/firmware em software/, simulacao Godot, planta do bloco D, chapas MDF da base, renders e slides
- app/: app demo (Kivy/buildozer) da API do robo
- software/: servidor RoboMovel (SLAM, profundidade, navegacao) e firmware da base movel (movido de firmware/)
- simulacao/: projeto Godot do robo e script de lancamento servidor + simulacao
- modelos/: planta do 5o andar do bloco D, cena Blender do corredor e modelo real do robo
- partes/mdf/: chapas identificadas e nesting da base do robo (DXF/SVG/FCStd)
- projeto/render, relatorio/imagens, slides: renders finais e apresentacoes de progresso
- ferramentas/scripts: encaixe de chapas, planta do bloco D e render do corredor no Blender
- .gitignore: ignora backups do Blender/FreeCAD e .godot/
2026-10-25 23:38:16 -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')