Commit 7ab45db2 authored by Thanassis Tsiodras's avatar Thanassis Tsiodras

In many distros, pip now points to pip3. Be specific (pip2)

parent b08fc1df
......@@ -2,9 +2,9 @@
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
. ${DIR}/common.sh
pip freeze | grep singledispatch >/dev/null \
|| pip install --user --upgrade singledispatch || exit 1
pip freeze | grep stringtemplate3 >/dev/null \
|| pip install --user --upgrade stringtemplate3 || exit 1
pip freeze | grep enum34 >/dev/null \
|| pip install --user --upgrade enum34 || exit 1
pip2 freeze | grep singledispatch >/dev/null \
|| pip2 install --user --upgrade singledispatch || exit 1
pip2 freeze | grep stringtemplate3 >/dev/null \
|| pip2 install --user --upgrade stringtemplate3 || exit 1
pip2 freeze | grep enum34 >/dev/null \
|| pip2 install --user --upgrade enum34 || exit 1
......@@ -3,7 +3,7 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
. ${DIR}/common.sh
cd $DIR/../opengeode || exit 1
pip install --user --upgrade . || exit 1
pip2 install --user --upgrade . || exit 1
# Add .local/bin to PATH
PATH_CMD='export PATH=$PATH:$HOME/.local/bin'
......
......@@ -3,7 +3,7 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
. ${DIR}/common.sh
cd $DIR/../pymsc || exit 1
pip install --user --upgrade . || exit 1
pip2 install --user --upgrade . || exit 1
# Add .local/bin to PATH
PATH_CMD='export PATH=$PATH:$HOME/.local/bin'
......
......@@ -3,7 +3,7 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
. ${DIR}/common.sh
cd $DIR/../speedometer || exit 1
pip install --user --upgrade . || exit 1
pip2 install --user --upgrade . || exit 1
# Add .local/bin to PATH
PATH_CMD='export PATH=$PATH:$HOME/.local/bin'
......
......@@ -3,7 +3,7 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
. ${DIR}/common.sh
cd $DIR/../asn1-value-editor || exit 1
pip install --user --upgrade . || exit 1
pip2 install --user --upgrade . || exit 1
# Add .local/bin to PATH
PATH_CMD='export PATH=$PATH:$HOME/.local/bin'
......
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