mirror of https://github.com/kivy/kivy.git
ios: avoid cython check for ios platform, we are using it externally anyway.
This commit is contained in:
parent
9f77e54dc7
commit
781ad0add2
8
setup.py
8
setup.py
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue