diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 25ec6eb1..9e5295b4 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -157,7 +157,6 @@ jobs: CIBW_ENVIRONMENT_WINDOWS: > MKL_DIR="C:\\Program Files (x86)\\Intel\\oneAPI\\mkl\\2025.0\\lib\\cmake\\mkl" CIBW_ARCHS_WINDOWS: AMD64 - CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: "delvewheel repair --include-imports --wheel-dir {dest_dir} {wheel}" with: output-dir: 'dist' diff --git a/pyproject.toml b/pyproject.toml index 0c8449bb..5d3e6f4a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -63,6 +63,12 @@ test-requires = [ "scipy", ] test-command = "pytest {project}/tests" +[tool.cibuildwheel.windows] +# We use delvewheel to ensure _gaussianfft.lib, which is aprt of the build artefacts, +# is included / imported when _gaussianfft.pyd is imported +before-all = "pip install delvewheel==1.10.0" +repair-wheel-command = "delvewheel repair --include-imports --wheel-dir {dest_dir} {wheel}" + [tool.scikit-build] cmake.version = ">=3.19"