mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-02-06 17:59:52 +00:00
Make manylinux1 wheels
This commit is contained in:
parent
ff208ad7d0
commit
a9f4dad4dc
2 changed files with 15 additions and 0 deletions
4
Makefile
4
Makefile
|
|
@ -20,3 +20,7 @@ python3: cython
|
|||
|
||||
test:
|
||||
py.test test
|
||||
|
||||
build-manylinux1-wheel:
|
||||
docker run --rm -ti -v `pwd`:/project -w /project quay.io/pypa/manylinux1_i686 bash docker/buildwheel.sh
|
||||
docker run --rm -ti -v `pwd`:/project -w /project quay.io/pypa/manylinux1_x86_64 bash docker/buildwheel.sh
|
||||
|
|
|
|||
11
docker/buildwheel.sh
Normal file
11
docker/buildwheel.sh
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
set -e -x
|
||||
|
||||
ARCH=`uname -p`
|
||||
echo "arch=$ARCH"
|
||||
|
||||
for V in cp35-cp35m cp34-cp34m cp27-cp27m cp27-cp27mu; do
|
||||
PYBIN=/opt/python/$V/bin
|
||||
rm -rf build/ # Avoid lib build by narrow Python is used by wide python
|
||||
$PYBIN/python setup.py bdist_wheel -p manylinux1_${ARCH}
|
||||
done
|
||||
Loading…
Add table
Add a link
Reference in a new issue