Skip to content
Snippets Groups Projects
Commit 50950c59 authored by Kenneth Reitz's avatar Kenneth Reitz Committed by GitHub
Browse files

Pipenv improvements (#474)


* improvements to pipenv

Signed-off-by: default avatarKenneth Reitz <me@kennethreitz.org>

* capitalize

Signed-off-by: default avatarKenneth Reitz <me@kennethreitz.org>
parent 9817eb14
No related branches found
No related tags found
No related merge requests found
......@@ -3,13 +3,18 @@
# Pipenv support (Generate requriements.txt with pipenv).
if [[ -f Pipfile ]]; then
if [[ ! -f requirements.txt ]]; then
puts-step "Installing requirements with latest pipenv..."
puts-step "Installing requirements with latest Pipenv..."
# Install pipenv.
/app/.heroku/python/bin/pip install pipenv --upgrade &> /dev/null
if [[ ! -f Pipfile.lock ]]; then
/app/.heroku/python/bin/pipenv install --system --skip-lock 2>&1 | indent
else
/app/.heroku/python/bin/pipenv install --system 2>&1 | indent
fi
# Install the dependencies.
/app/.heroku/python/bin/pipenv install --system --skip-lock 2>&1 | indent
# Skip pip install, later.
export SKIP_PIP_INSTALL=1
......
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