mirror of
https://github.com/google/brotli.git
synced 2026-09-22 06:35:52 +00:00
[PR #136] [CLOSED] support building compiled wheels packages using Appveyor + Travis #750
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/google/brotli/pull/136
Author: @anthrotype
Created: 8/11/2015
Status: ❌ Closed
Base:
master← Head:ci📝 Commits (5)
6e46f0fadd support for Appveyor CIcacfdbdadd support for Travis CI (OS X only for now)21aa7e6[travis] use Homebrew Python 2.7.10a3f91d9[travis] also compile for 'macpython' (official installers from Python.org);7e471ca[setup.py] pass extra compiler flags on OS X to enable support for C++11: -stdlib=libc++ -mmacosx-version-min=10.7📊 Changes
7 files changed (+222 additions, -0 deletions)
View changed files
➕
.gitmodules(+3 -0)➕
.travis.yml(+22 -0)➕
appveyor.yml(+62 -0)➕
appveyor/install.ps1(+85 -0)➕
appveyor/run_with_compiler.cmd(+47 -0)📝
setup.py(+2 -0)➕
terryfy(+1 -0)📄 Description
Here's my attempt at using CI systems to run automated builds of Brotli Python extension module.
You can see the latest build logs here:
https://travis-ci.org/anthrotype/brotli
https://ci.appveyor.com/project/anthrotype/brotli
Only Windows (via Appveyor) and OS X (via Travis) are supported here.
PyPI does not accept precompiled Linux wheels anyway: see http://pythonwheels.com/
On Windows, I test both 32 and 64-bit Python, 2.7.x and 3.4.x. The extension is compiled using MSVC 2010.
On OS X, I use the MacPython/terrify utilities in order to download and configure different python setups.
I could successfully compile Brotli on Apple's system Python (2.7.x), as well as on Homebrew Python 2.7.10 and 3.4.3. However, I was not able to build Brotli using official Python installers from Python.org. The latter are compiled using OS X 10.6 SDK and GCC 4.2, which don't support advanced C++0x features required by Brotli.
We could configure both
appveyor.ymland.travis.ymlto deploy the compiled wheels to some public wheelhouse (even directly upload to PyPI) whenever a new release is tagged.E.g. http://docs.travis-ci.com/user/deployment/pypi/
Let me know what you think.
Thanks
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.