Skip to content

Commit

Permalink
Merge pull request heroku#185 from pngdwnld/sub_env_pip
Browse files Browse the repository at this point in the history
Allowing pip-install to have access to config vars
  • Loading branch information
kennethreitz committed Dec 8, 2014
2 parents a51c162 + 3c28391 commit 3dbeec8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/compile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 5 additions & 1 deletion bin/steps/pip-install
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
#!/usr/bin/env bash

source $BIN_DIR/utils

# Install dependencies with Pip.
puts-step "Installing dependencies with pip"

Expand All @@ -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
echo

0 comments on commit 3dbeec8

Please sign in to comment.