Commit 7cbca2f5 authored by Kenneth Reitz's avatar Kenneth Reitz

always use pipenv if it's there

Signed-off-by: 's avatarKenneth Reitz <me@kennethreitz.org>
parent fe302d87
...@@ -26,8 +26,6 @@ if [ ! "$SKIP_PIPENV_INSTALL" ]; then ...@@ -26,8 +26,6 @@ if [ ! "$SKIP_PIPENV_INSTALL" ]; then
# Pipenv support (Generate requriements.txt with pipenv). # Pipenv support (Generate requriements.txt with pipenv).
if [[ -f Pipfile ]]; then if [[ -f Pipfile ]]; then
if [[ ! -f requirements.txt ]]; then
# Measure that we're using Pipenv. # Measure that we're using Pipenv.
mcount "tool.pipenv" mcount "tool.pipenv"
...@@ -63,7 +61,6 @@ if [ ! "$SKIP_PIPENV_INSTALL" ]; then ...@@ -63,7 +61,6 @@ if [ ! "$SKIP_PIPENV_INSTALL" ]; then
/app/.heroku/python/bin/pipenv install --dev --system --deploy 2>&1 | cleanup | indent /app/.heroku/python/bin/pipenv install --dev --system --deploy 2>&1 | cleanup | indent
fi fi
fi fi
fi
else else
pipenv-to-pip Pipfile.lock > requirements.txt pipenv-to-pip Pipfile.lock > requirements.txt
export SKIP_PIP_INSTALL=1 export SKIP_PIP_INSTALL=1
......
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