From 9dceec10f344ff754b32066263be49276e4bbbf1 Mon Sep 17 00:00:00 2001 From: jennmald Date: Tue, 10 Mar 2026 09:21:34 -0400 Subject: [PATCH] drafting pixi setup for chxtools requirements --- pixi.toml | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 pixi.toml diff --git a/pixi.toml b/pixi.toml new file mode 100644 index 0000000..4f0e78e --- /dev/null +++ b/pixi.toml @@ -0,0 +1,44 @@ +[workspace] +channels = ["conda-forge"] +name = "chxtools" +platforms = ["linux-64", "osx-64", "osx-arm64"] +version = "2026.3.0" + +[feature.base.dependencies] +numpy = "*" +pyepics = "*" +python = ">=3.12,<3.13" +databroker = "==2.0.0b68" +eiger-io = "*" +matplotlib = "*" +pymongo = "*" +scikit-beam = "*" +scikit-image = "*" +scipy = "*" + +[feature.terminal.dependencies] +ipython = ">=9.5.0" +pyside6 = "*" +numpy = ">2" + +[feature.dev.dependencies] +pre-commit = "*" +ruff = "*" +black = "*" +isort = "*" +prettier = "*" +nbstripout = "*" + +[feature.dev.tasks] +pre-commit-install = "pre-commit install" +pre-commit-run = "pre-commit run --all-files" +pre-commit-update = "pre-commit autoupdate" +lint = "ruff check ." +format = "ruff format ." +lint-fix = "ruff check --fix ." +black-format = "black ." +isort-fix = "isort ." + +[environments] +terminal = {features=["base", "terminal"], solve-group="profile"} +dev = {features=["dev"], no-default-feature = true} \ No newline at end of file