diff --git a/pyproject.toml b/pyproject.toml index 5dea2385..36f1dd90 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -88,10 +88,11 @@ delocate-listdeps {wheel} && delocate-wheel --exclude libtableauhyperapi.dylib - """ [tool.cibuildwheel.windows] +# https://github.com/actions/runner-images/issues/4711 repair-wheel-command = [ "mkdir subdir", "tar -xf {wheel} -C subdir", "cd subdir", - "mt.exe -manifest pantab\\libpantab.manifest -outputresource:pantab\\libpantab.dll;2", - "tar -czf {dest_dir}\\pantab-4.1.0-cp39-cp39-win_amd64.whl .", + "\"C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.20348.0\\x86\\mt.exe\" -manifest pantab\\libpantab.manifest -outputresource:pantab\\libpantab.cp39-win_amd64.pyd;2", + "python -m wheel pack --dest-dir {dest_dir} .", ]