17 lines
354 B
Bash
Executable File
17 lines
354 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
set -x
|
|
|
|
WHEEL=$1
|
|
DEST_DIR=$2
|
|
BITNESS=$3
|
|
|
|
# By default, the Windows wheels are not repaired.
|
|
# In this case, we need to vendor VCRUNTIME140.dll
|
|
wheel unpack "$WHEEL"
|
|
WHEEL_DIRNAME=$(ls -d scikit_learn-*)
|
|
python build_tools/github/vendor.py "$WHEEL_DIRNAME" "$BITNESS"
|
|
wheel pack "$WHEEL_DIRNAME" -d "$DEST_DIR"
|
|
rm -rf "$WHEEL_DIRNAME"
|