Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Apr 16, 2021. It is now read-only.

Commit 372def2

Browse files
committed
Try bdist_wheel to fix wheel version
1 parent 216ed29 commit 372def2

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

config.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,18 @@ function pre_build {
1717
build_bzip2
1818
}
1919

20+
function build_wheel {
21+
# Override common_utils build_wheel function
22+
local repo_dir=${1:-$REPO_DIR}
23+
local wheelhouse=$(abspath ${WHEEL_SDIR:-wheelhouse})
24+
pre_build
25+
pip install $(pip_opts) $BUILD_DEPENDS
26+
# Use bdist_wheel to work round problem with wheel version
27+
(cd $repo_dir && python setup.py bdist_wheel)
28+
cp $repo_dir/dist/*.whl $wheelhouse
29+
repair_wheelhouse $wheelhouse
30+
}
31+
2032
function run_tests {
2133
# Runs tests on installed distribution from an empty directory
2234
MPL_SRC_DIR=../matplotlib

0 commit comments

Comments
 (0)