From 98ff1670b39ca47af6cb3907021c9e8aa9a70118 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz <me@kennethreitz.org> Date: Mon, 19 Dec 2016 22:05:28 -0500 Subject: [PATCH] cleanup --- bin/compile | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/bin/compile b/bin/compile index 1d9058af..0c9a0440 100755 --- a/bin/compile +++ b/bin/compile @@ -190,17 +190,9 @@ sub-env $BIN_DIR/steps/geo-libs # GDAL support. 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 -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. +# Install dependencies with Pip (where the magic happens). 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. sub-env $BIN_DIR/steps/collectstatic -- GitLab