Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

Commit

Permalink
Merge branch 'master' into xcode94
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk authored Oct 1, 2018
2 parents 0e7af10 + d5435c9 commit a44a908
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ env:
- PLAT=x86_64
- UNICODE_WIDTH=32
- BUILD_DEPENDS=""
- TEST_DEPENDS="pytest pytest-cov numpy scipy"
- TEST_DEPENDS="pytest pytest-cov numpy scipy wheel==0.31.1"
- MACOSX_DEPLOYMENT_TARGET=10.10
- WHEELHOUSE_UPLOADER_USERNAME=travis-worker
# Following generated with
Expand Down
2 changes: 1 addition & 1 deletion Pillow
Submodule Pillow updated 207 files
30 changes: 30 additions & 0 deletions config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,33 @@ function run_tests {
fi
return $ret
}

# Custom functions to temporarily pin wheel to 0.31.1
if [ -n "$IS_OSX" ]; then
function before_install {
brew cask uninstall oclint || true
export CC=clang
export CXX=clang++
get_macpython_environment $MB_PYTHON_VERSION venv
source venv/bin/activate
pip install --upgrade pip
pip install wheel==0.31.1
}
else
function build_wheel_cmd {
local cmd=${1:-pip_wheel_cmd}
local repo_dir=${2:-$REPO_DIR}
[ -z "$repo_dir" ] && echo "repo_dir not defined" && exit 1
local wheelhouse=$(abspath ${WHEEL_SDIR:-wheelhouse})
start_spinner
if [ -n "$(is_function "pre_build")" ]; then pre_build; fi
stop_spinner
if [ -n "$BUILD_DEPENDS" ]; then
pip install $(pip_opts) $BUILD_DEPENDS
fi
/opt/python/cp36-cp36m/bin/pip3 install wheel==0.31.1
(cd $repo_dir && $cmd $wheelhouse)
pip show wheel
repair_wheelhouse $wheelhouse
}
fi

0 comments on commit a44a908

Please sign in to comment.