From 75c0a9f2e0e84a5ece374adf2c5e91cbb1e23a75 Mon Sep 17 00:00:00 2001 From: Yangyang Li Date: Mon, 30 Oct 2023 23:44:56 -0500 Subject: [PATCH] build: Add delocate as a dependency for cibuildwheel --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0076efca..f1a5e520 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -181,6 +181,7 @@ jobs: - name: Install cibuildwheel run: | python -m pip install cibuildwheel + python -m pip install delocate - name: Build wheels env: @@ -216,7 +217,7 @@ jobs: mv $ORIGINAL_WHEEL $RENAMED_WHEEL echo "Running delocate-wheel command on $RENAMED_WHEEL" - delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v $RENAMED_WHEEL + DYLD_LIBRARY_PATH="$LIBRARY_PATH" delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v $RENAMED_WHEEL echo "Running delocate-listdeps to list linked wheel dependencies" WHEEL_SIMPLE_FILENAME="${RENAMED_WHEEL##*/}"