diff --git a/bin/compile b/bin/compile index d2f72a5..f523cdf 100755 --- a/bin/compile +++ b/bin/compile @@ -166,7 +166,7 @@ source $BIN_DIR/steps/pylibmc source $BIN_DIR/steps/cryptography # Install dependencies with Pip. -source $BIN_DIR/steps/pip-install +sub-env $BIN_DIR/steps/pip-install # Django collectstatic support. sub-env $BIN_DIR/steps/collectstatic diff --git a/bin/steps/pip-install b/bin/steps/pip-install index 00aabd7..05b97ab 100755 --- a/bin/steps/pip-install +++ b/bin/steps/pip-install @@ -1,3 +1,7 @@ +#!/usr/bin/env bash + +source $BIN_DIR/utils + # Install dependencies with Pip. puts-step "Installing dependencies with pip" @@ -13,4 +17,4 @@ cp requirements.txt .heroku/python/requirements-declared.txt [ ! "$FRESH_PYTHON" ] && bpwatch stop pip_install [ "$FRESH_PYTHON" ] && bpwatch stop pip_install_first -echo \ No newline at end of file +echo