10 lines
460 B
Bash
10 lines
460 B
Bash
# pip should only run if there is a virtualenv currently activated
|
|
export PIP_REQUIRE_VIRTUALENV=true
|
|
# cache pip-installed packages to avoid re-downloading
|
|
export PIP_DOWNLOAD_CACHE=$HOME/.pip/cache
|
|
|
|
# fix an error is Mavericks that is fixed with an update later (running old version)
|
|
# clang: error: unknown argument: '-mno-fused-madd' [-Wunused-command-line-argument-hard-error-in-future]
|
|
export CFLAGS=-Qunused-arguments
|
|
export CPPFLAGS=-Qunused-arguments
|