Skip to content

Commit bfd9eba

Browse files
author
yonip
committed
Add flag to setup.py call so skbuild doesn't default to osx 10.6
1 parent 09fecca commit bfd9eba

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

config.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@ function build_wheel {
1010
build_bdist_wheel $@
1111
}
1212

13+
function bdist_wheel_cmd {
14+
# copied from multibuild's common_utils.sh
15+
# add osx deployment target so it doesnt default to 10.6
16+
local abs_wheelhouse=$1
17+
python setup.py bdist_wheel -- -DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=10.7
18+
cp dist/*.whl $abs_wheelhouse
19+
}
20+
1321
if [ -n "$IS_OSX" ]; then
1422
echo " > OSX environment "
1523
else

0 commit comments

Comments
 (0)