From 6d491f9f2b0878ab19254239356639b9cc7c9c03 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz <me@kennethreitz.org> Date: Sun, 18 Dec 2016 13:16:49 -0500 Subject: [PATCH] fix for -e --- bin/compile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/compile b/bin/compile index 9d562ade..6831872e 100755 --- a/bin/compile +++ b/bin/compile @@ -153,12 +153,16 @@ bpwatch stop restore_cache mkdir -p $(dirname $PROFILE_PATH) +# Make the directory for -e pip installations. +mkdir -p /$BUILD_DIR/.heroku/src + if [[ $BUILD_DIR != '/app' ]]; then # python expects to reside in /app, so set up symlinks # we will not remove these later so subsequent buildpacks can still invoke it ln -s $BUILD_DIR/.heroku/python /app/.heroku/python ln -s $BUILD_DIR/.heroku/vendor /app/.heroku/vendor ln -s $BUILD_DIR/.heroku/venv /app/.heroku/venv + ln -s $BUILD_DIR/.heroku/src /app/.heroku/src fi # Install Python. -- GitLab