Add VTK_VERSION_SUFFIX and VTK_DIST_NAME_SUFFIX for custom wheel version and distribution name suffixes
When building a wheel from source, .dev0
is forced as a version suffix for the wheel. I'd like to have a bit of control over this suffix so that when building custom wheels, I can capture the variant in the version string of the wheel. This will allow for tracking if a wheel was built for OSMesa, EGL, or some specific module more easily.
Further, I have also added VTK_DIST_NAME_SUFFIX
to be able to modify the distribution name of the generated wheel so that users can build wheels called vtk_osmesa
, etc. but still use import vtk
in code.
@ben.boeckel and @dgobbi, a review would be appreciated!
Backport: release
Edited by Ben Boeckel