fix(py): one name, clawhdf5, for the Python distribution and module
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]>
This commit is contained in:
@@ -3,12 +3,15 @@ requires = ["maturin>=1.0,<2.0"]
|
||||
build-backend = "maturin"
|
||||
|
||||
[project]
|
||||
name = "rustyhdf5"
|
||||
name = "clawhdf5"
|
||||
version = "2.7.0"
|
||||
description = "Python bindings for rustyhdf5 — a pure-Rust HDF5 library"
|
||||
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"
|
||||
|
||||
Reference in New Issue
Block a user