Skip to content

Instantly share code, notes, and snippets.

@DanielCollins
Last active August 29, 2015 14:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DanielCollins/51da20c09727e02b68ba to your computer and use it in GitHub Desktop.
Save DanielCollins/51da20c09727e02b68ba to your computer and use it in GitHub Desktop.
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 LDFLAGS=" -L/usr/local/opt/openssl/lib -L$PREFIX/lib $LDFLAGS" CFLAGS=" -I/usr/local/opt/openssl/include -I/usr/include -I$PREFIX/include $CFLAGS" pip install -r requirements.txt -I --force-reinstall --global-option=build_ext --global-option="-L/Library/PostgreSQL/9.4/lib" --global-option=build_ext --global-option="-I/Library/PostgreSQL/9.4/include" --user
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment