Commit b09f79b0 authored by Amit Saha's avatar Amit Saha

Make manylinux script fixes

parent e2eb3e09
...@@ -7,19 +7,18 @@ export PYTHONDONTWRITEBYTECODE=1 ...@@ -7,19 +7,18 @@ export PYTHONDONTWRITEBYTECODE=1
if [ -d /gevent -a -d /opt/python ]; then if [ -d /gevent -a -d /opt/python ]; then
# Running inside docker # Running inside docker
yum -y install libffi-devel
cd /gevent cd /gevent
rm -rf wheelhouse rm -rf wheelhouse
# Make sure we have a new-enough auditwheel to repair the tag names for variant in `ls -d /opt/python/cp{27,3}*`; do
/opt/python/3.5.1m/bin/pip install -U auditwheel
for variant in /opt/python/3*; do
rm -rf dist build *.egg-info rm -rf dist build *.egg-info
make clean make clean
$variant/bin/pip install -U cython cffi setuptools greenlet wheel $variant/bin/pip install -U cython cffi setuptools greenlet wheel
PATH=$variant/bin:$PATH $variant/bin/python setup.py bdist_wheel PATH=$variant/bin:$PATH $variant/bin/python setup.py bdist_wheel
/opt/python/3.5.1m/bin/auditwheel repair dist/*.whl auditwheel repair dist/*.whl
done done
rm -rf dist build *.egg-info rm -rf dist build *.egg-info
exit 0 exit 0
fi fi
docker run --rm -ti -v "$(pwd):/gevent" quay.io/pypa/manylinux1_x86_64 /gevent/$(basename $0) docker run --rm -ti -v "$(pwd):/gevent" quay.io/pypa/manylinux1_x86_64 /gevent/scripts/releases/$(basename $0)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment