summaryrefslogtreecommitdiff
path: root/scripts/build/build_macos.sh
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2021-11-11 21:33:54 +0100
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2021-11-12 01:05:04 +0100
commit1f64a5345183e5039dac85fc8d7777fc09226455 (patch)
tree4d0336e2a7eacf4827f2a8b739935f80f2dcc63a /scripts/build/build_macos.sh
parentd7c77f80b27341d1ce65e1a9e7d9f658faaf4850 (diff)
downloadpsycopg2-1f64a5345183e5039dac85fc8d7777fc09226455.tar.gz
Investigate why strip wheel doesn't work on mac osstrip-macos
Diffstat (limited to 'scripts/build/build_macos.sh')
-rwxr-xr-xscripts/build/build_macos.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/build/build_macos.sh b/scripts/build/build_macos.sh
index 73b6d77..2d9b207 100755
--- a/scripts/build/build_macos.sh
+++ b/scripts/build/build_macos.sh
@@ -12,7 +12,7 @@ dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
prjdir="$( cd "${dir}/../.." && pwd )"
brew update
-brew install gnu-sed postgresql@14
+brew install coreutils gnu-sed postgresql@14
# Fetch 14.1 if 14.0 is still the default version
brew reinstall postgresql
@@ -47,6 +47,7 @@ fi
# Build the wheels
wheeldir="${prjdir}/wheels"
pip wheel -w ${wheeldir} .
+"${dir}/strip_wheel.sh" ${wheeldir}/*.whl -d
delocate-listdeps ${wheeldir}/*.whl
# Check where is the libpq. I'm gonna kill it for testing