Doing so would address a pain point in SlicerCore sdk deveopment.
vtkAddon consists of things that should be integrated into VTK but for some reason or other the VTK team did not take ownership of them, so they remained as Slicer-specific things that belong in VTK.
Could it be split? Some things in vtkAddon belong in Slicer, while other things in vtkAddon really belong in VTK.
But splitting would be a whole thing, and simply moving the entire thing into Slicer would vastly accelerate getting slicer core sdk together.
Thibault suggests: Move vtkAddon to Slicer, so that it can go into SlicerCore, and then afterwards we could still split things up.
Andras suggests: vtkaddon could remain a standalone, pure VTK-based Python package installable via pip to maximize its usability outside of Slicer. Future looking: Slicer should adopt modern VTK development patterns like trampoline classes to make its components more Pythonic and allow for easier derivation and customization. The same modular packaging approach should be something we can use to spin out other Slicer components, like MRML nodes, as independent Python packages to simplify the overall build process.
Move to slicer.packaging, re-importing to util only pip_install/pip_uninstall and what’s for backwards compatibility (to encourage people to start using slicer.packaging)