pyproject.toml named the distribution rustyhdf5 while the extension module is clawhdf5, and the package's tests imported rustyhdf5, so pytest failed at collection. Distribution, module-name and tests now agree; the module gains __version__. maturin develop + pytest: 28 pass. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
18 lines
477 B
TOML
18 lines
477 B
TOML
[build-system]
|
|
requires = ["maturin>=1.0,<2.0"]
|
|
build-backend = "maturin"
|
|
|
|
[project]
|
|
name = "clawhdf5"
|
|
version = "2.7.0"
|
|
description = "Python bindings for clawhdf5 — a pure-Rust HDF5 library"
|
|
requires-python = ">=3.8"
|
|
license = { text = "MIT" }
|
|
dependencies = ["numpy"]
|
|
|
|
[tool.maturin]
|
|
features = ["extension-module"]
|
|
# The extension module is `clawhdf5` (the cdylib's [lib] name): the
|
|
# distribution, the import name and the #[pymodule] all agree.
|
|
module-name = "clawhdf5"
|