.travis-config.sh
changeset 80 32c32cb5ab93
parent 79 588c0cda1ad5
equal deleted inserted replaced
79:588c0cda1ad5 80:32c32cb5ab93
    14 
    14 
    15 if [ -n "$IS_OSX" ]; then
    15 if [ -n "$IS_OSX" ]; then
    16 	function repair_wheelhouse {
    16 	function repair_wheelhouse {
    17 		local wheelhouse=$1
    17 		local wheelhouse=$1
    18 		install_delocate
    18 		install_delocate
    19 		$(dirname $PYTHON_EXE)/delocate-wheel $wheelhouse/*.whl # copies library dependencies into wheel
    19 		if [ -x $(dirname $PYTHON_EXE)/delocate-wheel ]; then
       
    20 			$(dirname $PYTHON_EXE)/delocate-wheel $wheelhouse/*.whl # copies library dependencies into wheel
       
    21 		else
       
    22 			/Library/Frameworks/Python.framework/Versions/2.7/bin/delocate-wheel $wheelhouse/*.whl # copies library dependencies into wheel
       
    23 		fi
    20 	}
    24 	}
    21 fi
    25 fi