Replies: 1 comment
-
So the problem is that
I don't see how it will be any more maintainable than the existing Note that I expect these to only work on one-shot builds. That is, once configure flags change after a build, it needs to be cleaned because a module that was on and is now off may still be laying around and should not be packaged. Trying to dictate that VTK will use a specific Python should be done through whatever Looking at the
|
Beta Was this translation helpful? Give feedback.
-
This discussion is intended to provide a collaborative ground to better understand what would be needed to build the official VTK wheels published on PyPI by leveraging the new
scikit-build-core
back-end.Indeed, considering that the use of
setuptools
as it is currently done in VTK can be considered legacy 12 and will likely break in the near future, the idea would be to integratescikit-build-core
and remove the brittle and hard to maintain approach implemented in CMake/setup.py.in.As described in
vtk#18750
3 by @mathstuf , the current understanding is that system want to know what modules will exist before the build starts. And that based on this assumption, the VTK buld-system may not be able to leverage scikit-build-core.Footnotes
https://setuptools.pypa.io/en/latest/build_meta.html ↩
https://setuptools.pypa.io/en/latest/deprecated/index.html ↩
https://gitlab.kitware.com/vtk/vtk/-/issues/18750#note_1291216 ↩
Beta Was this translation helpful? Give feedback.
All reactions