--- a/.travis-config.sh Sun Feb 16 12:09:43 2020 +0000
+++ b/.travis-config.sh Sun Feb 16 12:33:49 2020 +0000
@@ -16,6 +16,10 @@
function repair_wheelhouse {
local wheelhouse=$1
install_delocate
- $(dirname $PYTHON_EXE)/delocate-wheel $wheelhouse/*.whl # copies library dependencies into wheel
+ if [ -x $(dirname $PYTHON_EXE)/delocate-wheel ]; then
+ $(dirname $PYTHON_EXE)/delocate-wheel $wheelhouse/*.whl # copies library dependencies into wheel
+ else
+ /Library/Frameworks/Python.framework/Versions/2.7/bin/delocate-wheel $wheelhouse/*.whl # copies library dependencies into wheel
+ fi
}
fi