mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e104d36785 | |||
| 1786231a49 |
+1
-1
@@ -163,7 +163,7 @@ source $BIN_DIR/steps/pylibmc
|
|||||||
source $BIN_DIR/steps/pip-install
|
source $BIN_DIR/steps/pip-install
|
||||||
|
|
||||||
# Django collectstatic support.
|
# Django collectstatic support.
|
||||||
source $BIN_DIR/steps/collectstatic
|
sub-env $BIN_DIR/steps/collectstatic
|
||||||
|
|
||||||
|
|
||||||
# ### Finalize
|
# ### Finalize
|
||||||
|
|||||||
@@ -3,7 +3,11 @@ set +e
|
|||||||
bpwatch start pip_uninstall
|
bpwatch start pip_uninstall
|
||||||
if [[ -f .heroku/python/requirements-declared.txt ]]; then
|
if [[ -f .heroku/python/requirements-declared.txt ]]; then
|
||||||
|
|
||||||
pip-diff --stale .heroku/python/requirements-declared.txt requirements.txt > .heroku/python/requirements-stale.txt
|
cp .heroku/python/requirements-declared.txt requirements-declared.txt
|
||||||
|
|
||||||
|
pip-diff --stale requirements-declared.txt requirements.txt > .heroku/python/requirements-stale.txt
|
||||||
|
|
||||||
|
rm -fr requirements-declared.txt
|
||||||
|
|
||||||
if [[ -s .heroku/python/requirements-stale.txt ]]; then
|
if [[ -s .heroku/python/requirements-stale.txt ]]; then
|
||||||
puts-step "Uninstalling stale dependencies"
|
puts-step "Uninstalling stale dependencies"
|
||||||
|
|||||||
Reference in New Issue
Block a user