To produce a valid source distribution the following file needs to be copied from a build to the SimpleITK source git submodule:
cp _skbuild/cmake-build/sitk-sb/SimpleITK-build/sitkSourceVersionVars.cmake ./SimpleITK/CMake/
If the file is not copied then the following error message occurs when compiling the sdsit:
CMake Error at CMake/sitkSourceVersion.cmake:38 (include):
include could not find load file:
/tmp/pip-bKa1cY-build/SimpleITK/CMake/sitkSourceVersionVars.cmake
Call Stack (most recent call first):
Version.cmake:17 (include)
CMakeLists.txt:25 (include)