powerline/tests/install.sh

11 lines
260 B
Bash
Raw Normal View History

#!/bin/sh
pip install .
if python -c 'import sys; sys.exit(1 * (sys.version_info[0] != 2))' ; then
# Python 2
2013-02-25 18:26:22 +01:00
pip install mercurial bzr
if python -c 'import sys; sys.exit(1 * (sys.version_info[1] >= 7))' ; then
# Python 2.6
pip install unittest2
fi
fi