Skip to content

Commit 83d84e1

Browse files
committed
ENH: add --plat argument to auditwheel
1 parent e52da6b commit 83d84e1

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,22 @@ matrix:
77
services:
88
- docker
99
env: DOCKER_IMAGE=quay.io/pypa/manylinux1_x86_64
10+
PLAT=manylinux1_x86_64
1011
- sudo: required
1112
services:
1213
- docker
1314
env: DOCKER_IMAGE=quay.io/pypa/manylinux1_i686
1415
PRE_CMD=linux32
16+
PLAT=manylinux1_i686
1517
- sudo: required
1618
services:
1719
- docker
1820
env: DOCKER_IMAGE=quay.io/pypa/manylinux2010_x86_64
21+
PLAT=manylinux2010_x86_64
1922

2023
install:
2124
- docker pull $DOCKER_IMAGE
2225

2326
script:
24-
- docker run --rm -v `pwd`:/io $DOCKER_IMAGE $PRE_CMD /io/travis/build-wheels.sh
27+
- docker run --rm -e PLAT=$PLAT -v `pwd`:/io $DOCKER_IMAGE $PRE_CMD /io/travis/build-wheels.sh
2528
- ls wheelhouse/

travis/build-wheels.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ done
1212

1313
# Bundle external shared libraries into the wheels
1414
for whl in wheelhouse/*.whl; do
15-
auditwheel repair "$whl" -w /io/wheelhouse/
15+
auditwheel repair "$whl" --plat $PLAT -w /io/wheelhouse/
1616
done
1717

1818
# Install packages and test

0 commit comments

Comments
 (0)