Skip to content
Snippets Groups Projects
Commit 7ef7b64b authored by Craig Kerstiens's avatar Craig Kerstiens
Browse files

detecting if mercurial is used, if so install before requirements

parent 3a2dc499
No related branches found
No related tags found
No related merge requests found
...@@ -113,6 +113,10 @@ except: ...@@ -113,6 +113,10 @@ except:
EOF EOF
fi 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}')" 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 PIP_DOWNLOAD_CACHE=$PIP_DOWNLOAD_CACHE bin/pip install --use-mirrors -r requirements.txt | indent
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment