Skip to content
This repository was archived by the owner on May 3, 2023. It is now read-only.

add mac wheels for 10.9 / 64b only #47

Merged
merged 2 commits into from
Apr 1, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ env:
- BUILD_COMMIT=master
- PLAT=x86_64
- UNICODE_WIDTH=32
- MB_PYTHON_OSX_VER=10.9
- NP_BUILD_DEP="numpy==1.13.3"
- NP_TEST_DEP="numpy==1.13.3"
- WHEELHOUSE_UPLOADER_USERNAME=travis-worker
Expand Down Expand Up @@ -45,16 +46,15 @@ matrix:
language: generic
env:
- MB_PYTHON_VERSION=3.5
- MB_PYTHON_OSX_VER=10.6 # no python.org 10.9 builds for 3.5
- os: osx
language: generic
env:
- MB_PYTHON_VERSION=3.6
- MB_PYTHON_OSX_VER=10.9
- os: osx
language: generic
env:
- MB_PYTHON_VERSION=3.7
- MB_PYTHON_OSX_VER=10.9
- NP_BUILD_DEP="numpy==1.14.5"
- NP_TEST_DEP="numpy==1.14.5"

Expand Down
10 changes: 9 additions & 1 deletion config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,15 @@
function pre_build {
# Any stuff that you need to do before you start building the wheels
# Runs in the root directory of this repository.
:
if [ -n "$IS_OSX" ]; then
# Override pandas' default minimum MACOSX_DEPLOYEMENT_TARGET=10.9,
# so we can build for older Pythons if we really want to.
# See https://github.com/pandas-dev/pandas/pull/24274
local _plat=$(get_distutils_platform)
if [[ -z $MACOSX_DEPLOYMENT_TARGET && "$_plat" =~ macosx-(10\.[0-9]+)-.* ]]; then
export MACOSX_DEPLOYMENT_TARGET=${BASH_REMATCH[1]}
fi
fi
}

function build_wheel {
Expand Down