Commit e00a407c authored by Kenneth Reitz's avatar Kenneth Reitz

source collectstatic

parent 117dcff4
...@@ -41,9 +41,6 @@ ROOT_DIR=$(dirname $BIN_DIR) ...@@ -41,9 +41,6 @@ ROOT_DIR=$(dirname $BIN_DIR)
BUILD_DIR=$1 BUILD_DIR=$1
CACHE_DIR=$2 CACHE_DIR=$2
# The detected application type (`Python`|`Python/Django`).
NAME=$($BIN_DIR/detect $BUILD_DIR)
# Where to store the pip download cache. # Where to store the pip download cache.
CACHED_DIRS=".heroku" CACHED_DIRS=".heroku"
PIP_DOWNLOAD_CACHE=${PIP_DOWNLOAD_CACHE:-$CACHE_DIR/pip_downloads} PIP_DOWNLOAD_CACHE=${PIP_DOWNLOAD_CACHE:-$CACHE_DIR/pip_downloads}
...@@ -144,9 +141,7 @@ puts-step "Installing dependencies using pip ($(pip --version | awk '{print $2}' ...@@ -144,9 +141,7 @@ puts-step "Installing dependencies using pip ($(pip --version | awk '{print $2}'
pip install --use-mirrors -r requirements.txt --exists-action=w --src=./.heroku/src | cleanup | indent pip install --use-mirrors -r requirements.txt --exists-action=w --src=./.heroku/src | cleanup | indent
# Django collectstatic support. # Django collectstatic support.
if [ "$NAME" = "Python/Django" ]; then source $BIN_DIR/steps/collectstatic
source $BIN_DIR/steps/django
fi
# Make Virtualenv's paths relative for portability. # Make Virtualenv's paths relative for portability.
set +e set +e
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment