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

Skip to content

Commit b6c2738

Browse files
authored
Merge pull request #24724 from QuLogic/windows-delvewheel
Run delvewheel on Windows for wheels
2 parents 5100378 + 4dd46ac commit b6c2738

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/cibuildwheel.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ jobs:
3737
env:
3838
CIBW_ARCHS_MACOS: "x86_64 universal2 arm64"
3939
MACOSX_DEPLOYMENT_TARGET: "10.12"
40+
CIBW_BEFORE_BUILD_WINDOWS: >-
41+
pip install certifi delvewheel oldest-supported-numpy &&
42+
git clean -fxd build
43+
CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: >-
44+
delvewheel repair -w {dest_dir} {wheel}
4045
strategy:
4146
matrix:
4247
os: [ubuntu-20.04, windows-latest, macos-11]
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Windows wheel runtime bundling
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
4+
Wheels built for Windows now bundle the MSVC runtime DLL ``msvcp140.dll``. This
5+
enables importing Matplotlib on systems that do not have the runtime installed.

0 commit comments

Comments
 (0)