Ah, correct. The binary packages on PyPI cannot be used to build additional module packages. There are some limitations on the build location, but the ITKPythonPackage scripts could be used locally, e.g. macpython-download-cache-and-build-module-wheels.sh. These scripts download the build trees that were used to generate the PyPI packages. But, these are not intended to be used locally, and GitHub CI generated packages are preferred.
Ok, thats what I thought. I would not recommend using
macpython-download-cache-and-build-module-wheels.sh outside a container as it might mess with your setup …
Bad news, Python test of the wrapped module ends up with a nice:
Bus error: 10
Have to look into the debugging part of the wrapping