fix python 3.8 build error on manylinux
This commit is contained in:
parent
1753e9122e
commit
9dcfaa5fed
2 changed files with 5 additions and 5 deletions
8
Makefile
8
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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue