update pip installation method, to include setuptools

This commit is contained in:
2018-03-20 13:20:49 -04:00
parent 1534bc3d76
commit 23400d7862
3 changed files with 22169 additions and 19856 deletions
+1
View File
@@ -68,6 +68,7 @@ if [ "$FRESH_PYTHON" ] || [[ ! $(pip --version) == *$PIP_UPDATE* ]]; then
rm -fr /app/.heroku/python/lib/python*/site-packages/setuptools-*
/app/.heroku/python/bin/python "$ROOT_DIR/vendor/get-pip.py" &> /dev/null
/app/.heroku/python/bin/pip install "$ROOT_DIR/vendor/setuptools-39.0.1-py2.py3-none-any.whl" &> /dev/null
fi