Install python34-setuptools for verify job 47/13747/1
authorFeng Pan <fpan@redhat.com>
Sat, 7 May 2016 19:00:53 +0000 (15:00 -0400)
committerFeng Pan <fpan@redhat.com>
Sun, 8 May 2016 18:07:08 +0000 (14:07 -0400)
This package is required for installing jinja2 python package with
easy_install-3.4 tool.

Change-Id: I8df9667d5c435b179d5b5af8a8881bb50704dd49
Signed-off-by: Feng Pan <fpan@redhat.com>
jjb/apex/apex.yml

index 0ef6831..a0ef87c 100644 (file)
                         exit 1
                     fi
                 fi
+                if ! rpm -q python34-setuptools > /dev/null; then
+                    if ! sudo yum install -y python34-setuptools; then
+                        echo "Failed to install python34-setuptools"
+                        exit 1
+                    fi
+                fi
                 if [ -z ${PYTHONPATH:-} ]; then
                     export PYTHONPATH=${WORKSPACE}/lib/python
                 else