Skip to content

Commit d1e01b2

Browse files
committed
Switched kivy recipe back to master
1 parent 16f60d3 commit d1e01b2

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

pythonforandroid/recipes/kivy/__init__.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@
66

77

88
class KivyRecipe(CythonRecipe):
9-
# version = 'stable'
10-
# version = 'master'
11-
version = '1.9.1'
9+
version = 'master'
1210
url = 'https://github.com/kivy/kivy/archive/{version}.zip'
1311
name = 'kivy'
1412

@@ -46,9 +44,10 @@ def get_recipe_env(self, arch):
4644
# Set include dir for pxi files - Kivy normally handles this
4745
# in the setup.py invocation, but we skip this
4846
build_dir = self.get_build_dir(arch.arch)
49-
self.cython_args = ['-I{}'.format(join(build_dir, 'kivy', 'include'))]
47+
if exists(join(build_dir, 'kivy', 'include')):
48+
self.cython_args = ['-I{}'.format(join(build_dir, 'kivy', 'include'))]
5049

51-
env['CFLAGS'] += ' -I{}'.format(join(build_dir, 'kivy', 'include'))
50+
env['CFLAGS'] += ' -I{}'.format(join(build_dir, 'kivy', 'include'))
5251

5352
return env
5453

0 commit comments

Comments
 (0)