From c67275fba6cd57dc15f27523afd88f3e503002a2 Mon Sep 17 00:00:00 2001 From: Lucas Colley Date: Sun, 24 Aug 2025 14:15:35 +0100 Subject: [PATCH] add Pixi package definition --- pyproject.toml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 5593c38..8828620 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -69,6 +69,28 @@ path = "README.md" backend1 = 'spatch._spatch_example.entry_point' backend2 = 'spatch._spatch_example.entry_point2' +[tool.pixi.workspace] +channels = ["https://prefix.dev/conda-forge"] +preview = ["pixi-build"] + +[tool.pixi.package] +name = "spatch" +# TODO: dynamic version https://github.com/prefix-dev/pixi-build-backends/issues/61 +version = "0.0.0.dev0" + +[tool.pixi.package.build.backend] +name = "pixi-build-python" +version = "*" + +[tool.pixi.package.host-dependencies] +uv = "*" +hatchling = "*" +hatch-vcs = "*" +hatch-fancy-pypi-readme = "*" + +[tool.pixi.package.run-dependencies] +importlib_metadata = "*" + [tool.pytest.ini_options] minversion = "6.0" doctest_plus = "enabled"