This commit is contained in:
2016-12-19 16:21:03 -05:00
parent 35cabaeebc
commit 6572ad3d44
+1
View File
@@ -23,6 +23,7 @@ cp requirements.txt .heroku/python/requirements-declared.txt
# Replace egg-links with new paths for /app.
find .heroku/python/lib/python*/site-packages/ -name "*.egg-link" -print0 | xargs -0 cat
find .heroku/python/lib/python*/site-packages/ -name "*.egg-link" -print0 | xargs -0 -n 1 sed -i -e "s#$(pwd)/#./app/#"
find .heroku/python/lib/python*/site-packages/ -name "easy-install.pth" -print0 | xargs -0 -n 1 sed -i -e "s#$(pwd)/#/app/#"
[ ! "$FRESH_PYTHON" ] && bpwatch stop pip_install
[ "$FRESH_PYTHON" ] && bpwatch stop pip_install_first