Skip to content

Commit

Permalink
symlink eggs
Browse files Browse the repository at this point in the history
  • Loading branch information
kennethreitz committed Dec 19, 2016
1 parent 554a8bb commit 1a1cedf
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions bin/compile
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,11 @@ 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

# Deep copy the directory for -e pip installations
deep-cp /app/.heroku/src $BUILD_DIR/.heroku/src
# Symlink the directory for -e pip installations
if [[ $BUILD_DIR != '/app' ]]; then
mv /app/.heroku/src $BUILD_DIR/.heroku
ln -s /app/.heroku/src $BUILD_DIR/.heroku/src
fi

# Experimental post_compile hook.
bpwatch start post_compile
Expand Down

0 comments on commit 1a1cedf

Please sign in to comment.