switch to manylinux 2010, hack fix for OSX 2.7 build
authorrobin
Sun, 16 Feb 2020 12:56:27 +0000
changeset 4574 d95e14d3604e
parent 4573 82a14db33e3e
child 4575 3ee2a4e2eee6
switch to manylinux 2010, hack fix for OSX 2.7 build
.travis-config.sh
.travis.yml
--- a/.travis-config.sh	Fri Feb 14 16:37:53 2020 +0000
+++ b/.travis-config.sh	Sun Feb 16 12:56:27 2020 +0000
@@ -37,3 +37,15 @@
 	python runAll.py
 	)
 	}
+
+if [ -n "$IS_OSX" ]; then
+	function repair_wheelhouse {
+		local wheelhouse=$1
+		install_delocate
+		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
--- a/.travis.yml	Fri Feb 14 16:37:53 2020 +0000
+++ b/.travis.yml	Sun Feb 16 12:56:27 2020 +0000
@@ -5,6 +5,7 @@
   global:
   - REPO_DIR=reportlab
   - MULTIBUILD_DIR=multibuild
+  - MB_ML_VER=2010
   - CONFIG_PATH=.travis-config.sh
   - BUILD_COMMIT=master
   - PLAT=x86_64