Skip to content

Commit 180a85e

Browse files
committed
Merge pull request kivy#639 from inclement/cython_fix
Made build fail if no cython found
2 parents 0d75510 + cdcac21 commit 180a85e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pythonforandroid/build.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,8 @@ def prepare_build_environment(self, user_sdk_dir, user_ndk_dir,
331331
self.cython = cython
332332
break
333333
else:
334-
self.cython = 'cython'
334+
error('No cython binary found. Exiting.')
335+
exit(1)
335336
if not self.cython:
336337
ok = False
337338
warning("Missing requirement: cython is not installed")

0 commit comments

Comments
 (0)