Commit 8c98761f authored by Jason Madden's avatar Jason Madden

Use entirely clean directories for manylinux builds, like we do for OS X builds.

parent f5de6014
...@@ -4,10 +4,10 @@ ...@@ -4,10 +4,10 @@
.. currentmodule:: gevent .. currentmodule:: gevent
1.3.3 (unreleased) 1.3.2.post0 (unreleased)
================== ========================
- Nothing changed yet. - Fix a packaging error in manylinux binary wheels.
1.3.2 (2018-05-29) 1.3.2 (2018-05-29)
......
...@@ -10,14 +10,18 @@ if [ -d /gevent -a -d /opt/python ]; then ...@@ -10,14 +10,18 @@ if [ -d /gevent -a -d /opt/python ]; then
yum -y install libffi-devel yum -y install libffi-devel
cd /gevent cd /gevent
rm -rf wheelhouse rm -rf wheelhouse
mkdir wheelhouse
for variant in `ls -d /opt/python/cp{27,34,35,36}*`; do for variant in `ls -d /opt/python/cp{27,34,35,36}*`; do
rm -rf dist build *.egg-info mkdir /tmp/build
make clean cd /tmp/build
git clone /gevent gevent
cd gevent
$variant/bin/pip install -U -r ci-requirements.txt $variant/bin/pip install -U -r ci-requirements.txt
GEVENT_NO_LIBUV_BUILD=1 PATH=$variant/bin:$PATH $variant/bin/python setup.py bdist_wheel GEVENT_NO_LIBUV_BUILD=1 PATH=$variant/bin:$PATH $variant/bin/python setup.py bdist_wheel
auditwheel repair dist/*.whl auditwheel repair dist/*.whl
$variant/bin/pip uninstall -y cython cp wheelhouse/*.whl /gevent/wheelhouse
rm -rf src/cython cd /gevent
rm -rf /tmp/build
done done
rm -rf dist build *.egg-info rm -rf dist build *.egg-info
exit 0 exit 0
......
...@@ -27,7 +27,7 @@ version_info = _version_info(1, 3, 0, 'dev', 0) ...@@ -27,7 +27,7 @@ version_info = _version_info(1, 3, 0, 'dev', 0)
#: Use ``pkg_resources.parse_version(__version__)`` or #: Use ``pkg_resources.parse_version(__version__)`` or
#: ``packaging.version.Version(__version__)`` to get a machine-usable #: ``packaging.version.Version(__version__)`` to get a machine-usable
#: value. #: value.
__version__ = '1.3.3.dev0' __version__ = '1.3.2.post0'
__all__ = [ __all__ = [
......
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