From c9f684a33f8d075322e139e7d53a4e6a7173adc0 Mon Sep 17 00:00:00 2001 From: Simon Gibbons Date: Sat, 6 Jul 2019 02:13:46 +0100 Subject: [PATCH] Fix wheel building --- build_linux_wheels.sh | 2 +- build_wheels.sh | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/build_linux_wheels.sh b/build_linux_wheels.sh index da5861e..f542567 100755 --- a/build_linux_wheels.sh +++ b/build_linux_wheels.sh @@ -5,7 +5,7 @@ set -ex function build_wheels() { echo "Building Wheels" - docker build . -t pyfof -f Dockerfile-manylinux + #docker build . -t pyfof -f Dockerfile-manylinux CONTAINER_ID=$(docker create pyfof) trap "docker rm -f ${CONTAINER_ID} > /dev/null || true" EXIT INT TERM diff --git a/build_wheels.sh b/build_wheels.sh index 0285879..38304ab 100755 --- a/build_wheels.sh +++ b/build_wheels.sh @@ -8,3 +8,7 @@ for PYBIN in /opt/python/*/bin; do "${PYBIN}/pip" wheel /app/ -w wheelhouse/ done +for WHL in wheelhouse/pyfof*.whl; do + auditwheel repair "${WHL}" +done +