ios: avoid cython check for ios platform, we are using it externally anyway.

This commit is contained in:
Mathieu Virbel 2012-12-16 13:47:32 +01:00
parent 9f77e54dc7
commit 781ad0add2
1 changed files with 14 additions and 10 deletions

View File

@ -44,11 +44,15 @@ if kivy_ios_root is not None:
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# Cython check # Cython check
try: if platform == 'ios':
print '\nCython check avoided.'
have_cython = False
else:
try:
# check for cython # check for cython
from Cython.Distutils import build_ext from Cython.Distutils import build_ext
have_cython = True have_cython = True
except ImportError: except ImportError:
if platform not in ('android', 'ios'): if platform not in ('android', 'ios'):
print '\nCython is missing, its required for compiling kivy !\n\n' print '\nCython is missing, its required for compiling kivy !\n\n'
raise raise