The [package] table and the Python build backend:
[tool.pixi.package]
name = "rescale"
version = "0.1.0"
[tool.pixi.package.build.backend]
name = "pixi-build-python"
version = "0.*"
The host and run dependencies:
[tool.pixi.package.host-dependencies]
hatchling = "*"
[tool.pixi.package.run-dependencies]
numpy = ">=1.24"
And a tests task for the dev feature:
pixi task add --feature dev tests "pytest tests"