mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
detecting if mercurial is used, if so install before requirements
This commit is contained in:
@@ -113,6 +113,10 @@ except:
|
||||
EOF
|
||||
fi
|
||||
|
||||
if (grep -Fiq "hg+" requirements.txt) then
|
||||
PIP_DOWNLOAD_CACHE=$PIP_DOWNLOAD_CACHE bin/pip install --use-mirrors mercurial | indent
|
||||
fi
|
||||
|
||||
echo "-----> Installing dependencies using pip version $(bin/pip --version | awk '{print $2}')"
|
||||
PIP_DOWNLOAD_CACHE=$PIP_DOWNLOAD_CACHE bin/pip install --use-mirrors -r requirements.txt | indent
|
||||
|
||||
|
||||
Reference in New Issue
Block a user