Cython wheels don't work with Python 2.6, use --no-cython-compile

This commit is contained in:
Miro Hrončok 2018-08-28 18:29:31 +02:00
commit 2540126bc6

View file

@ -31,7 +31,8 @@ python -c 'import sys; print(sys.version)' | head -n1 | grep $VERSION
# install packages with pip
if [ "$VERSION" == "2.6" ]; then
pip install pytest "Cython<28"
pip install pytest
pip install Cython --install-option="--no-cython-compile"
else
python -m pip install pytest Cython
fi