Skip to content
Snippets Groups Projects
Commit 852723f8 authored by Kenneth Reitz's avatar Kenneth Reitz
Browse files

find all *.pth files for sed replacement

parent 7d57744c
Branches
Tags
No related merge requests found
......@@ -24,7 +24,7 @@ cp requirements.txt .heroku/python/requirements-declared.txt
# 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 -r -0 -n 1 sed -i -e "s#$(pwd)/#./app/#"
find .heroku/python/lib/python*/site-packages/ -name "easy-install.pth" -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/#"
[ ! "$FRESH_PYTHON" ] && bpwatch stop pip_install
[ "$FRESH_PYTHON" ] && bpwatch stop pip_install_first
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment