From 455dadd30dcf93320d3a07c68f44b0c4019fccc6 Mon Sep 17 00:00:00 2001 From: Akinwale Ariwodola Date: Sun, 7 Jul 2019 16:58:13 +0100 Subject: [PATCH] use python 3.7 venv --- p4a/pythonforandroid/build.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/p4a/pythonforandroid/build.py b/p4a/pythonforandroid/build.py index 310cfc58..374929d0 100644 --- a/p4a/pythonforandroid/build.py +++ b/p4a/pythonforandroid/build.py @@ -600,9 +600,9 @@ def run_pymodules_install(ctx, modules): venv = sh.Command(ctx.virtualenv) with current_directory(join(ctx.build_dir)): shprint(venv, - '--python=python{}'.format( - ctx.python_recipe.major_minor_version_string. - partition(".")[0] + '--python=python{}.{}'.format( + ctx.python_recipe.major_minor_version_string.partition(".")[0], + ctx.python_recipe.major_minor_version_string.partition(".")[2] ), 'venv' )