We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5e37ca7 + f8200b1 commit ba82d8aCopy full SHA for ba82d8a
pythonforandroid/build.py
@@ -669,8 +669,12 @@ def run_pymodules_install(ctx, modules):
669
venv = sh.Command(ctx.virtualenv)
670
with current_directory(join(ctx.build_dir)):
671
shprint(venv,
672
- '--python=python{}'.format(ctx.python_recipe.major_minor_version_string),
673
- 'venv')
+ '--python=python{}'.format(
+ ctx.python_recipe.major_minor_version_string.
674
+ partition(".")[0]
675
+ ),
676
+ 'venv'
677
+ )
678
679
info('Creating a requirements.txt file for the Python modules')
680
with open('requirements.txt', 'w') as fileh:
0 commit comments