Ok another try to get dynamic versions working

This commit is contained in:
Tom 2025-02-19 16:04:22 +00:00
parent 1ca23ca4cf
commit a70bd9f0cd
3 changed files with 9 additions and 3 deletions

3
.gitignore vendored
View File

@ -14,4 +14,5 @@ _build/
build/
.ipynb_checkpoints/
dist/
Cargo.lock
Cargo.lock
src/python/qubed/_version.py

View File

@ -10,6 +10,8 @@ serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
pyo3 = "0.23"
[package.metadata.maturin]
version-from-git = true
[lib]
name = "tree_traverser"

View File

@ -1,6 +1,9 @@
[build-system]
requires = ["maturin>=1.0,<2.0"]
build-backend = "maturin"
requires = ["maturin>=0.14", "setuptools", "setuptools-rust", "setuptools_scm"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
write_to = "src/python/qubed/_version.py"
[project]
name = "qubed"