From bfa0b8779137e9890643840cbd0bdc576d4ba6cb Mon Sep 17 00:00:00 2001 From: Dave Page Date: Fri, 12 Jun 2020 11:42:35 +0100 Subject: [PATCH] Make sure we have the wheel package in the venv as it may be needed to build other dependencies. --- pkg/linux/build-functions.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/linux/build-functions.sh b/pkg/linux/build-functions.sh index 307943f70..9473278e7 100644 --- a/pkg/linux/build-functions.sh +++ b/pkg/linux/build-functions.sh @@ -53,6 +53,10 @@ _create_python_virtualenv() { python3 -m venv venv source venv/bin/activate + # Make sure we have the wheel package present + pip3 install wheel + + # Install the requirements pip3 install --no-cache-dir --no-binary psycopg2 -r ${SOURCEDIR}/requirements.txt # Figure out some paths for use when completing the venv