Skip to content

Commit 6db573a

Browse files
authored
add Pixi package definition (#27)
1 parent 386d24c commit 6db573a

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

pyproject.toml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,28 @@ path = "README.md"
6969
backend1 = 'spatch._spatch_example.entry_point'
7070
backend2 = 'spatch._spatch_example.entry_point2'
7171

72+
[tool.pixi.workspace]
73+
channels = ["https://prefix.dev/conda-forge"]
74+
preview = ["pixi-build"]
75+
76+
[tool.pixi.package]
77+
name = "spatch"
78+
# TODO: dynamic version https://github.com/prefix-dev/pixi-build-backends/issues/61
79+
version = "0.0.0.dev0"
80+
81+
[tool.pixi.package.build.backend]
82+
name = "pixi-build-python"
83+
version = "*"
84+
85+
[tool.pixi.package.host-dependencies]
86+
uv = "*"
87+
hatchling = "*"
88+
hatch-vcs = "*"
89+
hatch-fancy-pypi-readme = "*"
90+
91+
[tool.pixi.package.run-dependencies]
92+
importlib_metadata = "*"
93+
7294
[tool.pytest.ini_options]
7395
minversion = "6.0"
7496
doctest_plus = "enabled"

0 commit comments

Comments
 (0)