File tree Expand file tree Collapse file tree 11 files changed +11
-10
lines changed
Expand file tree Collapse file tree 11 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ JNI_PATH="$SRC_PATH/jni"
5454DIST_PATH=" $ROOT_PATH /dist/default"
5555SITEPACKAGES_PATH=" $BUILD_PATH /python-install/lib/python2.7/site-packages/"
5656HOSTPYTHON=" $BUILD_PATH /python-install/bin/python.host"
57+ CYTHON=" cython -t"
5758
5859# Tools
5960export LIBLINK_PATH=" $BUILD_PATH /objects"
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ function build_android() {
3636 export LDSHARED=" $LIBLINK "
3737
3838 # cythonize
39- try find . -iname ' *.pyx' -exec cython {} \;
39+ try find . -iname ' *.pyx' -exec $CYTHON {} \;
4040 try $HOSTPYTHON setup.py build_ext -v
4141 try $HOSTPYTHON setup.py install -O2
4242
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ function build_audiostream() {
2929 export AUDIOSTREAM_ROOT=" $BUILD_audiostream /build/audiostream/armeabi-v7a"
3030 try cd $BUILD_audiostream
3131 $HOSTPYTHON setup.py build_ext & > /dev/null
32- try find . -iname ' *.pyx' -exec cython {} \;
32+ try find . -iname ' *.pyx' -exec $CYTHON {} \;
3333 try $HOSTPYTHON setup.py build_ext -v
3434 try $HOSTPYTHON setup.py install -O2
3535 try cp -a audiostream/platform/android/org $JAVACLASS_PATH
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ function build_cymunk() {
2424
2525 export LDSHARED=" $LIBLINK "
2626
27- try find . -iname ' *.pyx' -exec cython {} \;
27+ try find . -iname ' *.pyx' -exec $CYTHON {} \;
2828 try $HOSTPYTHON setup.py build_ext -v
2929 try find build/lib.* -name " *.o" -exec $STRIP {} \;
3030
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ function build_docutils() {
2727
2828 # fake try to be able to cythonize generated files
2929 $HOSTPYTHON setup.py build_ext
30- try find . -iname ' *.pyx' -exec cython {} \;
30+ try find . -iname ' *.pyx' -exec $CYTHON {} \;
3131 try $HOSTPYTHON setup.py build_ext -v
3232 try $HOSTPYTHON setup.py install -O2
3333
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ function build_ffmpeg() {
3939 export LDFLAGS=" $LDFLAGS -lm -L$LIBS_PATH "
4040 export FFMPEG_ROOT=" $BUILD_ffmpeg /build/ffmpeg/armeabi-v7a"
4141 try cd $BUILD_ffmpeg /python
42- try find . -iname ' *.pyx' -exec cython {} \;
42+ try find . -iname ' *.pyx' -exec $CYTHON {} \;
4343 try $HOSTPYTHON setup.py build_ext -v
4444 try $HOSTPYTHON setup.py install -O2
4545
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ function build_kivy() {
2727
2828 # fake try to be able to cythonize generated files
2929 $HOSTPYTHON setup.py build_ext
30- try find . -iname ' *.pyx' -exec cython {} \;
30+ try find . -iname ' *.pyx' -exec $CYTHON {} \;
3131 try $HOSTPYTHON setup.py build_ext -v
3232 try find build/lib.* -name " *.o" -exec $STRIP {} \;
3333 try $HOSTPYTHON setup.py install -O2
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ function build_lxml() {
3030 export PATH=$PATH :$BUILD_libxslt
3131
3232 try $HOSTPYTHON setup.py build_ext -I$BUILD_libxml2 /include -I$BUILD_libxslt
33- try find . -iname ' *.pyx' -exec cython {} \;
33+ try find . -iname ' *.pyx' -exec $CYTHON {} \;
3434 try $HOSTPYTHON setup.py build_ext -v
3535 try find build/lib.* -name " *.o" -exec $STRIP {} \;
3636
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ function build_msgpack() {
2424
2525 # fake try to be able to cythonize generated files
2626 $HOSTPYTHON setup.py build_ext
27- try find . -iname ' *.pyx' -exec cython {} \;
27+ try find . -iname ' *.pyx' -exec $CYTHON {} \;
2828 try $HOSTPYTHON setup.py build_ext -v
2929
3030 try find build/lib.* -name " *.o" -exec $STRIP {} \;
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ function build_pyjnius() {
2727
2828 # fake try to be able to cythonize generated files
2929 $HOSTPYTHON setup.py build_ext
30- try find . -iname ' *.pyx' -exec cython {} \;
30+ try find . -iname ' *.pyx' -exec $CYTHON {} \;
3131 try $HOSTPYTHON setup.py build_ext -v
3232 try find build/lib.* -name " *.o" -exec $STRIP {} \;
3333 try $HOSTPYTHON setup.py install -O2
You can’t perform that action at this time.
0 commit comments