diff --git a/bin/compile b/bin/compile index 977f66cf8a292090bffe7ac093ea7ee3420eed7c..90c69e8063e92f4958a69eeedae0c617e3b507e8 100755 --- a/bin/compile +++ b/bin/compile @@ -193,6 +193,10 @@ source $BIN_DIR/steps/gdal # Install dependencies with Pip (where the magic happens). source $BIN_DIR/steps/pip-install +# Support for pip install -e. +rm -fr $BUILD_DIR/.heroku/src +deep-cp /app/.heroku/src $BUILD_DIR/.heroku/src + # Django collectstatic support. sub-env $BIN_DIR/steps/collectstatic @@ -209,10 +213,6 @@ set-default-env PYTHONPATH /app/ # Install sane-default script for $WEB_CONCURRENCY and $FORWARDED_ALLOW_IPS. cp $ROOT_DIR/vendor/python.gunicorn.sh $GUNICORN_PROFILE_PATH -# Support for pip install -e. -rm -fr $BUILD_DIR/.heroku/src -deep-cp /app/.heroku/src $BUILD_DIR/.heroku/src - # Experimental post_compile hook. bpwatch start post_compile source $BIN_DIR/steps/hooks/post_compile