Skip to content
Snippets Groups Projects
Commit 857c47ad authored by Kenneth Reitz's avatar Kenneth Reitz
Browse files

/app for pip

parent 87cf6073
No related branches found
No related tags found
No related merge requests found
......@@ -27,6 +27,9 @@ BUILD_DIR=$1
CACHE_DIR=$2
ENV_DIR=$3
# Export path environment variables for sub-scripts.
export BIN_DIR ROOT_DIR BUILD_DIR CACHE_DIR ENV_DIR
DEFAULT_PYTHON_VERSION="python-2.7.13"
DEFAULT_PYTHON_STACK="cedar-14"
PYTHON_EXE="/app/.heroku/python/bin/python"
......
......@@ -4,7 +4,8 @@ puts-cmd "pip install -r requirements.txt"
[ ! "$FRESH_PYTHON" ] && bpwatch start pip_install
[ "$FRESH_PYTHON" ] && bpwatch start pip_install_first
# Change directory to /app for pip.
cd /app
set +e
/app/.heroku/python/bin/pip install -r requirements.txt --exists-action=w --src=/app/.heroku/src --disable-pip-version-check --no-cache-dir 2>&1 | tee $WARNINGS_LOG | cleanup | indent
......@@ -25,4 +26,5 @@ cp requirements.txt .heroku/python/requirements-declared.txt
[ ! "$FRESH_PYTHON" ] && bpwatch stop pip_install
[ "$FRESH_PYTHON" ] && bpwatch stop pip_install_first
cd $BUILD_DIR
echo
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment