Skip to content

Commit a25b13c

Browse files
committed
🍱 Change hostpython2 to hostpython3 for mysqldb recipe
1 parent 8318b8f commit a25b13c

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

pythonforandroid/recipes/hostpython3/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ class Hostpython3Recipe(HostPythonRecipe):
1111
'''
1212
version = '3.8.1'
1313
name = 'hostpython3'
14-
conflicts = ['hostpython2']
1514

1615

1716
recipe = Hostpython3Recipe()

pythonforandroid/recipes/mysqldb/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def prebuild_arch(self, arch):
3131
def get_recipe_env(self, arch=None):
3232
env = super(MysqldbRecipe, self).get_recipe_env(arch)
3333

34-
hostpython = self.get_recipe('hostpython2', self.ctx)
34+
hostpython = self.get_recipe('hostpython3', self.ctx)
3535
# TODO: fix hardcoded path
3636
env['PYTHONPATH'] = (join(hostpython.get_build_dir(arch.arch),
3737
'build', 'lib.linux-x86_64-2.7') +

0 commit comments

Comments
 (0)