Created
March 19, 2012 01:55
-
-
Save natekupp/2090168 to your computer and use it in GitHub Desktop.
Installation for py2cairo on OSX Lion 10.7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
python waf clean | |
export PYTHONPATH=/Library/Frameworks/Python.framework/Versions/2.7/ | |
export LD_LIBRARY_PATH=/Library/Frameworks/Python.framework/Versions/2.7/:$LD_LIBRARY_PATH | |
export LD_LIBRARY_PATH=/Library/Frameworks/Python.framework/Versions/2.7/lib:$LD_LIBRARY_PATH | |
export LINKFLAGS='-search_dylibs_first -L /Library/Frameworks/Python.framework/Versions/2.7/lib/' | |
export ARCHFLAGS='-arch x86_64' | |
export CC=/usr/bin/gcc-4.2 | |
export PKG_CONFIG_PATH=/usr/local/Cellar/cairo/1.10.2/lib/pkgconfig/ | |
python waf configure --prefix=$PYTHONPATH | |
python waf build | |
python waf install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment