support manylinux1

This commit is contained in:
PyYoshi 2016-10-18 00:24:49 +09:00
commit 02715bb643
2 changed files with 15 additions and 0 deletions
dockerfiles

11
dockerfiles/buildwheel.sh Executable file
View 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