Skip to content

Commit

Permalink
Script for building manylinux wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
snaury committed Apr 2, 2016
1 parent 1572809 commit 1a45be2
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
build/
dist/
.tox/
wheelhouse/
greenlet.egg-info/
/doc/_build
__pycache__/
Expand Down
15 changes: 15 additions & 0 deletions make-manylinux
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash
set -e

if [ -d /greenlet -a -d /opt/python ]; then
# Running inside docker
cd /greenlet
for version in cp27-cp27mu cp34-cp34m cp35-cp35m; do
/opt/python/${version}/bin/pip wheel greenlet
auditwheel repair greenlet*${version}*.whl
rm greenlet*${version}*whl
done
exit 0
fi

docker run --rm -ti -v "$(pwd):/greenlet" quay.io/pypa/manylinux1_x86_64 /greenlet/make-manylinux

5 comments on commit 1a45be2

@jwhitlock
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Our TravisCI build picked up new wheels, and because we're using hashed requirements, it broke our TravisCI build. This isn't a problem, we can update our hashes, but I want to confirm: Did you upload these new wheels to PyPI over the weekend?

@snaury
Copy link
Contributor Author

@snaury snaury commented on 1a45be2 Apr 4, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I built and uploaded them in response to #100.

@snaury
Copy link
Contributor Author

@snaury snaury commented on 1a45be2 Apr 4, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To be honest given #101 I think that was a mistake, but I don't want to make matters even worse by deleting them now.

@jwhitlock
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the heads-up - I'll test accordingly.

@snaury
Copy link
Contributor Author

@snaury snaury commented on 1a45be2 Apr 4, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After some more thinking I pulled manylinux1 wheels for greenlet 0.4.9, since uploading them in the first place was a big mistake. I will bring them back in greenlet 0.4.10.

Please sign in to comment.