Skip to content

Commit d741839

Browse files
committed
Merge branch 'fix-macosx-wheel'
* fix-macosx-wheel: travis: Ensure MacOSX wheels can be installed on MacOSX >= 10.6
2 parents eb772e0 + c6e67ac commit d741839

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
- python ../addons/travis/install_cmake.py 3.6.2
@@ -36,7 +37,7 @@ before_build:
3637
build:
3738
commands:
3839
- python setup.py --hide-listing sdist
39-
- $<RUN_ENV> python setup.py --hide-listing bdist_wheel
40+
- $<RUN_ENV> python setup.py --hide-listing bdist_wheel $<SETUP_ARGS>
4041

4142
circle:
4243
commands:

0 commit comments

Comments
 (0)