RF: try using pkg-config from homebrew

This commit is contained in:
Matthew Brett 2014-06-30 11:58:20 +01:00
parent c471b897f9
commit ed040a10a0
2 changed files with 33 additions and 4 deletions

26
README.rst Normal file
View File

@ -0,0 +1,26 @@
####################
Pillow wheel builder
####################
Repository to build OSX wheels for Pillow.
To update:
* Update Pillow with version you want to build:
* cd Pillow && git pull && git checkout DESIRED_TAG
* cd .. && git add Pillow
where "DESIRED_TAG" is a Pillow git tag like "2.4.0".
The wheels get uploaded to a `rackspace container
<http://a365fff413fe338398b6-1c8a9b3114517dc5fe17b7c3f8c63a43.r19.cf2.rackcdn.com>`_
to which I have the password. The password is encrypted to this exact repo in
the ``.travis.yml`` file, so the upload won't work for you from another repo.
Either contact me to get set up, or use another upload service such as github -
see for example Jonathan Helmus' `sckit-image wheels builder
<https://github.com/jjhelmus/scikit-image-ci-wheel-builder>`_
I got the rackspace password from Olivier Grisel - we might be able to share
this account across projects - again - please contact me or Olivier if you'd
like this to happen.

View File

@ -1,18 +1,21 @@
source terryfy/travis_tools.sh source terryfy/travis_tools.sh
source library_installers.sh source library_installers.sh
# Need cmake for openjpeg
brew install cmake
# Need pkg-config for freetype to find libpng
brew install pkg-config
# Set up build
init_vars init_vars
clean_builds clean_builds
# Need pkg-config for freetype library detection # install_pkg_config
install_pkg_config
install_jpeg install_jpeg
install_tiff install_tiff
install_libpng install_libpng
install_lcms2 install_lcms2
install_webp install_webp
# Need cmake for openjpeg
brew install cmake
install_openjpeg install_openjpeg
# Fix openjpeg library install id # Fix openjpeg library install id
# https://code.google.com/p/openjpeg/issues/detail?id=367
install_name_tool -id $PWD/build/lib/libopenjp2.6.dylib build/lib/libopenjp2.2.0.0.dylib install_name_tool -id $PWD/build/lib/libopenjp2.6.dylib build/lib/libopenjp2.2.0.0.dylib
install_freetype install_freetype