diff --git a/bin/steps/pip-install b/bin/steps/pip-install index 820bbb8fdbd21bac19027ab5289abb9fa89dba12..0185f08bb07ede1bc8294ec7204a769571cd2687 100755 --- a/bin/steps/pip-install +++ b/bin/steps/pip-install @@ -5,12 +5,10 @@ puts-cmd "pip install -r requirements.txt" [ "$FRESH_PYTHON" ] && bpwatch start pip_install_first set +e -/app/.heroku/python/bin/pip install -r requirements.txt --exists-action=w --src=./.heroku/src --disable-pip-version-check --no-cache-dir 2>&1 | log-output | cleanup | indent +/app/.heroku/python/bin/pip install -r requirements.txt --exists-action=w --src=./.heroku/src --disable-pip-version-check --no-cache-dir 2>&1 | tee $WARNINGS_LOG | cleanup | indent PIP_STATUS="${PIPESTATUS[0]}" set -e -wait - show-warnings if [[ ! $PIP_STATUS -eq 0 ]]; then diff --git a/bin/utils b/bin/utils index 569fff9a99b3391261f23b942c2ab05a46e3168e..dd15c6ebd07ec2e37f71639906d87a0dfe8a347c 100755 --- a/bin/utils +++ b/bin/utils @@ -11,16 +11,6 @@ indent() { sed "s/^/ /" } -# Log output for warning detection -log-output() ( - while read LINE; - do - echo "$LINE" - echo "$LINE" >> "$WARNINGS_LOG" - done - -) - # Clean up pip output cleanup() { sed -e 's/\.\.\.\+/.../g' | sed -e '/already satisfied/Id' | sed -e '/Overwriting/Id' | sed -e '/python executable/Id' | sed -e '/no previously-included files/Id'