Make Python 3.12 compatible
Make LSMTool compatible with Python 3.12.
- Replace
setup.pywithpyproject.toml - Optionally build binary extension using
scikit-build-core; disabled by default, editpyproject.tomlto enable it - Use
setuptools_scmto handle automatic version numbers
Closes RAP-503