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
42
42
VIRTUALENV_NAME=" $( which virtualenv) "
43
43
fi
44
44
45
+ # Resolve Cython path
46
+ CYTHON=" $( which cython2) "
47
+ if [ " X$CYTHON " == " X" ]; then
48
+ CYTHON=" $( which cython) "
49
+ fi
50
+
45
51
# Paths
46
52
ROOT_PATH=" $( dirname $( $PYTHON -c ' from __future__ import print_function; import os,sys;print(os.path.realpath(sys.argv[1]))' $0 ) ) "
47
53
RECIPES_PATH=" $ROOT_PATH /recipes"
@@ -54,7 +60,7 @@ JNI_PATH="$SRC_PATH/jni"
54
60
DIST_PATH=" $ROOT_PATH /dist/default"
55
61
SITEPACKAGES_PATH=" $BUILD_PATH /python-install/lib/python2.7/site-packages/"
56
62
HOSTPYTHON=" $BUILD_PATH /python-install/bin/python.host"
57
- CYTHON= " cython -t"
63
+ CYTHON+= " -t"
58
64
59
65
# Tools
60
66
export LIBLINK_PATH=" $BUILD_PATH /objects"
You can’t perform that action at this time.
0 commit comments