Skip to content

Commit cdcac21

Browse files
committed
Made build fail if no cython found
1 parent 0d75510 commit cdcac21

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)