symlink pip

parent 52912d7f
......@@ -316,6 +316,12 @@ fi
# Must upgrade to latest before pinning to work around bug
# https://github.com/pypa/pip/issues/3862
pip install --upgrade pip
if ! which pip &> /dev/null; then
if [[ -x /usr/local/bin/pip && ! -x /usr/bin/pip ]]; then
ln -s /usr/local/bin/pip /usr/bin/pip
fi
fi
pip install --upgrade pip==8.1.2
# upgrade setuptools early to avoid no distribution errors
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment