Skip to content

Commit c0a35dc

Browse files
authored
Merge pull request #173 from thewtex/mac-module-patch
BUG: Define DELOCATE_PATCH in macpython-build-module-wheels.sh
2 parents b295ff2 + 5e10d1e commit c0a35dc

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

scripts/macpython-build-module-wheels.sh

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,15 @@
33
# Run this script to build the Python wheel packages for macOS for an ITK
44
# external module.
55
#
6-
# Versions can be restricted by passing them in as arguments to the script
7-
# For example,
8-
#
9-
# scripts/macpython-build-module-wheels.sh 2.7 3.5
6+
# Versions can be restricted by passing them in as arguments to the script.
107
#
118
# Shared libraries can be included in the wheel by exporting them to DYLD_LIBRARY_PATH before
129
# running this script.
13-
#
10+
#
1411
# For example,
1512
#
1613
# export DYLD_LIBRARY_PATH="/path/to/libs"
17-
# scripts/macpython-build-module-wheels.sh cp39
14+
# scripts/macpython-build-module-wheels.sh 3.7 3.9
1815
#
1916

2017
# -----------------------------------------------------------------------
@@ -34,6 +31,7 @@ Python3_EXECUTABLE=${VENV}/bin/python3
3431
${Python3_EXECUTABLE} -m pip install --no-cache delocate
3532
DELOCATE_LISTDEPS=${VENV}/bin/delocate-listdeps
3633
DELOCATE_WHEEL=${VENV}/bin/delocate-wheel
34+
DELOCATE_PATCH=${VENV}/bin/delocate-patch
3735
# So delocate can find the libs
3836
export DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}:${script_dir}/../oneTBB-prefix/lib
3937

0 commit comments

Comments
 (0)