Skip to content
Snippets Groups Projects
Commit 98ff1670 authored by Kenneth Reitz's avatar Kenneth Reitz
Browse files

cleanup

parent bdd466f8
No related branches found
No related tags found
No related merge requests found
...@@ -190,17 +190,9 @@ sub-env $BIN_DIR/steps/geo-libs ...@@ -190,17 +190,9 @@ sub-env $BIN_DIR/steps/geo-libs
# GDAL support. # GDAL support.
source $BIN_DIR/steps/gdal source $BIN_DIR/steps/gdal
# rewrite any existing egg links to point to the build dir so pip does not fail with a mismatch error # Install dependencies with Pip (where the magic happens).
find .heroku/python/lib/python*/site-packages/ -name "*.egg-link" -print0 | xargs -r -0 -n 1 sed -i -e "s#/app/#$(pwd)/#"
find .heroku/python/lib/python*/site-packages/ -name "*.pth" -print0 | xargs -r -0 -n 1 sed -i -e "s#/app/#/$(pwd)/#"
# Install dependencies with Pip.
source $BIN_DIR/steps/pip-install source $BIN_DIR/steps/pip-install
# rewrite build dir in egg links to /app so things are found at runtime
find .heroku/python/lib/python*/site-packages/ -name "*.egg-link" -print0 | xargs -r -0 -n 1 sed -i -e "s#$(pwd)/#/app/#"
find .heroku/python/lib/python*/site-packages/ -name "*.pth" -print0 | xargs -r -0 -n 1 sed -i -e "s#$(pwd)/#/app/#"
# Django collectstatic support. # Django collectstatic support.
sub-env $BIN_DIR/steps/collectstatic sub-env $BIN_DIR/steps/collectstatic
......
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