From 71bba34058cb6148683e6d9ef627bfb09c3504f9 Mon Sep 17 00:00:00 2001 From: nichmor Date: Fri, 8 Mar 2024 21:41:57 +0100 Subject: [PATCH 1/3] feat: add pixi as a way to install package --- conda_smithy/templates/README.md.tmpl | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/conda_smithy/templates/README.md.tmpl b/conda_smithy/templates/README.md.tmpl index 7d586a691..bec73a8dc 100644 --- a/conda_smithy/templates/README.md.tmpl +++ b/conda_smithy/templates/README.md.tmpl @@ -228,12 +228,25 @@ or with `mamba`: mamba install {{ ' '.join(outputs) }} ``` +or with [`pixi`](https://pixi.sh): + +``` +pixi global install --channel {{ channel_with_label }} {{ ' '.join(outputs) }} +``` + + It is possible to list all of the versions of `{{ outputs[0] }}` available on your platform with `conda`: ``` conda search {{ outputs[0] }} --channel {{ channel_with_label }} ``` +or with [`pixi`](https://pixi.sh): + +``` +pixi search --channel {{ channel_with_label }} {{ outputs[0] }} +``` + or with `mamba`: ``` From 7f92cde71a3eb26d8cad67777c76c582736e5faf Mon Sep 17 00:00:00 2001 From: nichmor Date: Fri, 8 Mar 2024 21:49:54 +0100 Subject: [PATCH 2/3] misc: mention using of pixi project --- conda_smithy/templates/README.md.tmpl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/conda_smithy/templates/README.md.tmpl b/conda_smithy/templates/README.md.tmpl index bec73a8dc..b984ae975 100644 --- a/conda_smithy/templates/README.md.tmpl +++ b/conda_smithy/templates/README.md.tmpl @@ -234,6 +234,12 @@ or with [`pixi`](https://pixi.sh): pixi global install --channel {{ channel_with_label }} {{ ' '.join(outputs) }} ``` +if you are already using a [`pixi` project](https://pixi.sh/latest/basic_usage/): + +``` +pixi add {{ ' '.join(outputs) }} +``` + It is possible to list all of the versions of `{{ outputs[0] }}` available on your platform with `conda`: From 150688bf389a3f9b968e82104101d4726d3cbcaa Mon Sep 17 00:00:00 2001 From: nichmor Date: Sun, 10 Mar 2024 10:41:59 +0100 Subject: [PATCH 3/3] misc: mention only pixi project way of install --- conda_smithy/templates/README.md.tmpl | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/conda_smithy/templates/README.md.tmpl b/conda_smithy/templates/README.md.tmpl index b984ae975..c848adfee 100644 --- a/conda_smithy/templates/README.md.tmpl +++ b/conda_smithy/templates/README.md.tmpl @@ -228,13 +228,7 @@ or with `mamba`: mamba install {{ ' '.join(outputs) }} ``` -or with [`pixi`](https://pixi.sh): - -``` -pixi global install --channel {{ channel_with_label }} {{ ' '.join(outputs) }} -``` - -if you are already using a [`pixi` project](https://pixi.sh/latest/basic_usage/): +If you are using a [`pixi` project](https://pixi.sh/latest/basic_usage/): ``` pixi add {{ ' '.join(outputs) }}