diff --git a/Makefile b/Makefile index d7d8879..570b8e9 100644 --- a/Makefile +++ b/Makefile @@ -17,9 +17,9 @@ install: clean python setup.py install build-manylinux1-wheel: - docker pull quay.io/pypa/manylinux1_i686 - docker pull quay.io/pypa/manylinux1_x86_64 - docker run --rm -ti -v `pwd`:/project -w /project quay.io/pypa/manylinux1_i686 bash dockerfiles/buildwheel.sh - docker run --rm -ti -v `pwd`:/project -w /project quay.io/pypa/manylinux1_x86_64 bash dockerfiles/buildwheel.sh + docker pull quay.io/pypa/manylinux2010_i686 + docker pull quay.io/pypa/manylinux2010_x86_64 + docker run --rm -ti -v `pwd`:/project -w /project quay.io/pypa/manylinux2010_i686 bash dockerfiles/buildwheel.sh + docker run --rm -ti -v `pwd`:/project -w /project quay.io/pypa/manylinux2010_x86_64 bash dockerfiles/buildwheel.sh build: clean pip test sdist build-manylinux1-wheel diff --git a/dockerfiles/buildwheel.sh b/dockerfiles/buildwheel.sh index 89359c8..288b663 100755 --- a/dockerfiles/buildwheel.sh +++ b/dockerfiles/buildwheel.sh @@ -4,7 +4,7 @@ set -e -x ARCH=`uname -p` echo "arch=$ARCH" -for V in cp38-cp38m cp37-cp37m cp36-cp36m cp35-cp35m cp27-cp27m cp27-cp27mu; do +for V in cp38-cp38 cp37-cp37m cp36-cp36m cp35-cp35m cp27-cp27m cp27-cp27mu; do PYBIN=/opt/python/$V/bin rm -rf build src/cchardet/__pycache__ src/cchardet/*.cpp src/cchardet/*.pyc src/cchardet/*.so src/cchardet.egg-info src/tests/__pycache__ src/tests/*.pyc $PYBIN/pip install -r requirements-dev.txt