We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21bc8b8 commit f8200b1Copy full SHA for f8200b1
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