Pip install locally built ITK remote module?

Hi
I am developing tools for my workflows using ITK remote modules.

To test these from Python I have so far used the wheels generated by the CI (github action), or eventually from PyPI. Unfortunately, this no longer works on my Mac (M2 cpu), since the github action doesn’t build compatible wheels (yet).

How can I install locally built python (ITK remote) modules?

Ah, I figured out I can install it in my python (virtual environment) like this:

python -m pip install scikit-build
export ITK_DIR=<path to my itk build>
python setup.py install
2 Likes