Created
June 4, 2015 02:39
-
-
Save DanielCollins/7c655abdaece1c9f5f4f to your computer and use it in GitHub Desktop.
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
#!/usr/bin/env sh | |
xcode-select --install | |
brew unlink libxml2 | |
brew unlink libxslt | |
brew install libxml2 | |
brew install libxslt | |
brew link libxml2 --force | |
brew link libxslt --force | |
sudo ln -s /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/libxml2/libxml/ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/libxml | |
sudo env PATH=PATH:/Library/PostgreSQL/9.4/bin CPATH=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/libxml2 CFLAGS=-Qunused-arguments CPPFLAGS=-Qunused-arguments STATIC_DEPS=true pip install -r requirements.txt --global-option=build_ext --global-option="-L/Library/PostgreSQL/9.4/lib" --global-option=build_ext --global-option="-I/Library/PostgreSQL/9.4/include" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment