From d79d74b25b4cdad4de69675d9c9785f6d8592be5 Mon Sep 17 00:00:00 2001 From: sdixon Date: Mon, 5 Aug 2024 17:25:16 +0100 Subject: [PATCH] adding delvewheel to build requirements for windows repairwheel step --- .github/workflows/build_wheels.yml | 2 +- source/wrappers/python/pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index 65b497e3..fe228416 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -140,7 +140,7 @@ jobs: env: CIBW_ARCHS: ${{matrix.build-platform[1]}} CIBW_PLATFORM: windows - CIBW_BUILD: cp312-${{matrix.build-platform[2]}} + CIBW_BUILD: cp31*-${{matrix.build-platform[2]}} CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: "delvewheel repair -w {dest_dir} {wheel} --add-path ${{github.workspace}}/install/lib" diff --git a/source/wrappers/python/pyproject.toml b/source/wrappers/python/pyproject.toml index d3209e6d..90588a13 100644 --- a/source/wrappers/python/pyproject.toml +++ b/source/wrappers/python/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools>=42", "numpy>=1.7, <2", "Cython>=0.29", "six"] +requires = ["setuptools>=42", "numpy>=1.7, <2", "Cython>=0.29", "six", "delvewheel"] build-backend = "setuptools.build_meta" [project.urls]