8000 Auto build wheel files. · Tuxprogrammer/pandas@e7fc5e8 · GitHub
[go: up one dir, main page]

Skip to content

Commit e7fc5e8

Browse files
committed
Auto build wheel files.
1 parent 6a86b4a commit e7fc5e8

File tree

3 files changed

+15
-9
lines changed

3 files changed

+15
-9
lines changed

build-manylinux.sh

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
#!/bin/bash
22
#
33

4-
docker run --rm -e PLAT=manylinux1_x86_64 -v `pwd`:/io quay.io/pypa/manylinux1_x86_64 /io/build-wheels.sh
5-
ls wheelhouse/
6-
docker run --rm -e PLAT=manylinux1_i686 -v `pwd`:/io quay.io/pypa/manylinux1_i686 linux32 /io/build-wheels.sh
7-
ls wheelhouse/
8-
docker run --rm -e PLAT=manylinux2010_x86_64 -v `pwd`:/io quay.io/pypa/manylinux2010_x86_64 /io/build-wheels.sh
9-
ls wheelhouse/
4+
docker run -e PLAT=manylinux2010_x86_64 -v /home/callicott/work/pandas:/io quay.io/pypa/manylinux2010_x86_64 /io/build-wheels.sh

build-wheels.sh

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,24 @@ set -e -x
33

44
# Compile wheels
55
for PYBIN in /opt/python/*/bin; do
6-
"${PYBIN}/pip" install -r /io/requirements-dev.txt
7-
"${PYBIN}/pip" wheel /io/ -w wheelhouse/
6+
"${PYBIN}/pip" install -r /io/dev-requirements.txt &
87
done
8+
wait
9+
for PYBIN in /opt/python/*/bin; do
10+
"${PYBIN}/pip" wheel /io/ -w wheelhouse/ &
11+
done
12+
wait
13+
14+
ls wheelhouse
915

1016
# Bundle external shared libraries into the wheels
1117
for whl in wheelhouse/*.whl; do
1218
auditwheel repair "$whl" --plat $PLAT -w /io/wheelhouse/
1319
done
1420

21+
ls /io/wheelhouse
22+
1523
# Install packages and test
1624
for PYBIN in /opt/python/*/bin/; do
1725
"${PYBIN}/pip" install pandas27 --no-index -f /io/wheelhouse
18-
done
26+
done

dev-requirements.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
numpy>=1.13.3
2+
python-dateutil>=2.5.0
3+
pytz>=2015.4

0 commit comments

Comments
 (0)
0