8000 Make manylinux1 wheels · windreamer/msgpack-python@a9f4dad · GitHub
[go: up one dir, main page]

Skip to content

Commit a9f4dad

Browse files
committed
Make manylinux1 wheels
1 parent ff208ad commit a9f4dad

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,7 @@ python3: cython
2020

2121
test:
2222
py.test test
23+
24+
build-manylinux1-wheel:
25+
docker run --rm -ti -v `pwd`:/project -w /project quay.io/pypa/manylinux1_i686 bash docker/buildwheel.sh
26+
docker run --rm -ti -v `pwd`:/project -w /project quay.io/pypa/manylinux1_x86_64 bash docker/buildwheel.sh

docker/buildwheel.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/bash
2+
set -e -x
3+
4+
ARCH=`uname -p`
5+
echo "arch=$ARCH"
6+
7+
for V in cp35-cp35m cp34-cp34m cp27-cp27m cp27-cp27mu; do
8+
PYBIN=/opt/python/$V/bin
9+
rm -rf build/ # Avoid lib build by narrow Python is used by wide python
10+
$PYBIN/python setup.py bdist_wheel -p manylinux1_${ARCH}
11+
done

0 commit comments

Comments
 (0)
0