04_pythonlibs.sh 401 Bytes
Newer Older
1
#!/bin/bash
2 3 4
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
. ${DIR}/common.sh

5 6 7 8 9 10
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