Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
heroku-buildpack-python
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Python-Dev
heroku-buildpack-python
Commits
f9e54dc3
Unverified
Commit
f9e54dc3
authored
Mar 14, 2018
by
Kenneth Reitz
Committed by
GitHub
Mar 14, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
don't skip Pipenv installation if there are git deps (#656)
parent
7d975e74
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
pipenv
bin/steps/pipenv
+7
-4
No files found.
bin/steps/pipenv
View file @
f9e54dc3
...
@@ -9,15 +9,18 @@ set -e
...
@@ -9,15 +9,18 @@ set -e
if
[[
-f
Pipfile.lock
]]
;
then
if
[[
-f
Pipfile.lock
]]
;
then
if
[[
-f
.heroku/python/Pipfile.lock.sha256
]]
;
then
if
[[
-f
.heroku/python/Pipfile.lock.sha256
]]
;
then
if
[[
$(
openssl dgst
-sha256
Pipfile.lock
)
==
$(
cat
.heroku/python/Pipfile.lock.sha256
)
]]
;
then
if
[[
$(
openssl dgst
-sha256
Pipfile.lock
)
==
$(
cat
.heroku/python/Pipfile.lock.sha256
)
]]
;
then
if
[[
!
"
$PIPENV_ALWAYS_INSTALL
"
]]
;
then
# Measure that we're using Pipenv.
mcount
"tool.pipenv"
# Don't skip installation of there are git deps.
if
!
grep
-q
'git'
Pipfile.lock
;
then
echo
"Skipping installation, as Pipfile.lock hasn't changed since last deploy."
| indent
echo
"Skipping installation, as Pipfile.lock hasn't changed since last deploy."
| indent
# echo "To disable this functionality, run the following command:"
# echo ""
# echo " $ heroku config:set PIPENV_ALWAYS_INSTALL=1" | indent
mcount
"tool.pipenv"
mcount
"tool.pipenv"
export
SKIP_PIPENV_INSTALL
=
1
export
SKIP_PIPENV_INSTALL
=
1
export
SKIP_PIP_INSTALL
=
1
export
SKIP_PIP_INSTALL
=
1
fi
fi
fi
fi
fi
fi
fi
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment