Python 3.7 build ()

* Updated for Python 3.7.1
This commit is contained in:
Akinwale Ariwodola 2018-12-27 09:04:21 +01:00 committed by GitHub
commit 9a567ff5d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
335 changed files with 141279 additions and 35 deletions
p4a/pythonforandroid

View file

@ -530,7 +530,7 @@ class Context(object):
if self.python_recipe.from_crystax:
return self.get_python_install_dir()
return join(self.get_python_install_dir(),
'lib', 'python3.6', 'site-packages')
'lib', 'python3.7', 'site-packages')
def get_libs_dir(self, arch):
'''The libs dir for a given arch.'''
@ -635,7 +635,7 @@ def run_pymodules_install(ctx, modules):
venv = sh.Command(ctx.virtualenv)
with current_directory(join(ctx.build_dir)):
shprint(venv, '--python=python3.6', 'venv')
shprint(venv, '--python=python3.7', 'venv')
info('Creating a requirements.txt file for the Python modules')
with open('requirements.txt', 'w') as fileh: