File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11[build-system ]
2- requires = [" scikit-build-core>=0.9" , " pybind11>=2.11" , " numpy" ]
2+ requires = [
3+ " scikit-build-core>=0.9" ,
4+ " pybind11>=2.11" ,
5+ " numpy" ,
6+ " setuptools_scm[toml]>=8" ,
7+ ]
38build-backend = " scikit_build_core.build"
49
510[project ]
@@ -26,6 +31,14 @@ classifiers = [
2631Homepage = " https://github.com/skilledwolf/cpp_hf"
2732Issues = " https://github.com/skilledwolf/cpp_hf/issues"
2833
34+ # Provide version dynamically from git tags via setuptools_scm
35+ [tool .setuptools_scm ]
36+ fallback_version = " 0.0.0"
37+ tag_regex = " ^(?:v)?(?P<version>\d +\.\d +\.\d +)$"
38+
39+ [tool .scikit-build .metadata ]
40+ version = { provider = " scikit_build_core.metadata.setuptools_scm" }
41+
2942# [tool.scikit-build]
3043# No pure-Python packages shipped; wheel only contains the extension module
3144
You can’t perform that action at this time.
0 commit comments