File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,12 @@ if [ "X$VIRTUALENV_NAME" == "X" ]; then
4242 VIRTUALENV_NAME=" $( which virtualenv) "
4343fi
4444
45+ # Resolve Cython path
46+ CYTHON=" $( which cython2) "
47+ if [ " X$CYTHON " == " X" ]; then
48+ CYTHON=" $( which cython) "
49+ fi
50+
4551# Paths
4652ROOT_PATH=" $( dirname $( $PYTHON -c ' from __future__ import print_function; import os,sys;print(os.path.realpath(sys.argv[1]))' $0 ) ) "
4753RECIPES_PATH=" $ROOT_PATH /recipes"
@@ -54,7 +60,7 @@ JNI_PATH="$SRC_PATH/jni"
5460DIST_PATH=" $ROOT_PATH /dist/default"
5561SITEPACKAGES_PATH=" $BUILD_PATH /python-install/lib/python2.7/site-packages/"
5662HOSTPYTHON=" $BUILD_PATH /python-install/bin/python.host"
57- CYTHON= " cython -t"
63+ CYTHON+= " -t"
5864
5965# Tools
6066export LIBLINK_PATH=" $BUILD_PATH /objects"
You can’t perform that action at this time.
0 commit comments