dosage/scripts/install_pil.sh
Bastian Kleineidam c7108a9342 Fix pil install
2014-02-10 22:27:01 +01:00

8 lines
210 B
Bash
Executable file

#!/bin/sh
# Install PIL in Travis CI environment for Python 2.x builds.
set -e
set -u
if python -c 'import sys; sys.exit(0 if sys.hexversion<0x03000000 else 1)'; then
pip --allow-all-external install PIL
fi