Skip to content

Commit 83ad3f0

Browse files
committed
Merge branch 'fix-macosx-wheel'
* fix-macosx-wheel: travis: Ensure MacOSX wheels can be installed on MacOSX >= 10.6
2 parents 7aa6e51 + 512b4cc commit 83ad3f0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scikit-ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ before_install:
1919
osx:
2020
environment:
2121
PATH: $<HOME>/.pyenv/versions/$<PYTHON_VERSION>/bin:$<PATH>
22+
SETUP_ARGS: --plat-name macosx-10.6-x86_64 -- -DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=10.6 -DCMAKE_OSX_ARCHITECTURES:STRING=x86_64 -DCMAKE_OSX_SYSROOT:PATH=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
2223
commands:
2324
- python ../addons/travis/install_pyenv.py
2425

@@ -35,7 +36,7 @@ before_build:
3536
build:
3637
commands:
3738
- python setup.py --hide-listing sdist
38-
- $<RUN_ENV> python setup.py --hide-listing bdist_wheel
39+
- $<RUN_ENV> python setup.py --hide-listing bdist_wheel $<SETUP_ARGS>
3940

4041
circle:
4142
commands:

0 commit comments

Comments
 (0)