Build binary wheels automatically for Windows using Appveyor #54
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request adds support for automatically building Windows wheels using Appveyor. It builds nanomsg using the 1.0.0 tag and builds the Python extension. It works for Python 2.7-3.5, but cannot build the 64-bit extension for Python 2.7 or Python 3.3 because Appveyor does not support the 64-bit version of the compiler needed for those Python versions. I had to make a couple small changes to make this work:
test_poll.py
, change the test slightly that makes sure polling times out correctly. I think the only reason this was necessary was that the Appveyor node this was running on wasn't scheduling the process to run fast enough to get the timeout perfectly.You can see some jobs that ran on Appveyor. If you click on one of the jobs, you can see the build artifacts, which in this case is a wheel. If this PR is accepted and you set up an account with Appveyor, then wheels will be automatically generated and can be uploaded to PyPI so Windows users don't have to go through the steps of building support on their own.
Please let me know if you need me to do anything else in order to accept the PR!
Note that my template file for the appveyor.yml script came from the Python packaging website.