From 97cf58fdc8c524ed4c85bb27ba82c54a9f46ae49 Mon Sep 17 00:00:00 2001 From: Dave Page Date: Tue, 10 Apr 2018 09:29:40 +0100 Subject: [PATCH] Only avoid pre-built binaries for psycopg2 when building the Mac package, as some others (e.g. pbr) don't like being forced to source builds at the moment. --- pkg/mac/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/mac/build.sh b/pkg/mac/build.sh index 55ae581d4..38bc1d040 100755 --- a/pkg/mac/build.sh +++ b/pkg/mac/build.sh @@ -87,7 +87,7 @@ _create_python_virtualenv() { cd $BUILDROOT test -d $VIRTUALENV || virtualenv -p $PYTHON $VIRTUALENV || exit 1 source $VIRTUALENV/bin/activate - $PIP install --no-cache-dir --no-binary :all: -r $SOURCEDIR/requirements.txt || { echo PIP install failed. Please resolve the issue and rerun the script; exit 1; } + $PIP install --no-cache-dir --no-binary psycopg2 -r $SOURCEDIR/requirements.txt || { echo PIP install failed. Please resolve the issue and rerun the script; exit 1; } # Figure out some paths for use when completing the venv # Use "python" here as we want the venv path