Skip to content

Instantly share code, notes, and snippets.

@lambdalisue
Created September 20, 2011 17:44
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lambdalisue/1229763 to your computer and use it in GitHub Desktop.
Save lambdalisue/1229763 to your computer and use it in GitHub Desktop.
Mac OS X PIL install patch
#!/bin/bash
if [ `which brew` = '' ]; then
echo "You have to install Homebrew first"
exit 1
fi
echo "Installing required packages for PIL..."
brew install libjpeg
brew install https://raw.github.com/yuuna/homebrew/freetype/Library/Formula/freetype2.rb
curl https://raw.github.com/gist/1229763/patch.sh | bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment