From 389984161ecb1ec55b5737df69b0a2b09bb9400b Mon Sep 17 00:00:00 2001 From: "andy.mackinlay" Date: Tue, 11 Jun 2024 08:49:15 +1000 Subject: [PATCH 1/2] add pipx plugin --- plugins/pipx/plugin.json | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 plugins/pipx/plugin.json diff --git a/plugins/pipx/plugin.json b/plugins/pipx/plugin.json new file mode 100644 index 0000000..541cc30 --- /dev/null +++ b/plugins/pipx/plugin.json @@ -0,0 +1,15 @@ +{ + "name": "pipx", + "version": "0.1.0", + "description": "Installs Pipx and makes it available", + "packages": ["pipx@latest"], + "env": { + "PIPX_HOME": "{{ .Virtenv }}", + "PIPX_BIN_DIR": "{{ .Virtenv }}/bin" + }, + "shell": { + "init_hook": [ + "export PATH=\"{{ .Virtenv }}/bin:$PATH\"" + ] + } +} From a1ff86f4363975b71714f5979d6259d3068398cc Mon Sep 17 00:00:00 2001 From: Andy MacKinlay Date: Tue, 11 Jun 2024 12:25:19 +1000 Subject: [PATCH 2/2] pip pipx version --- plugins/pipx/plugin.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/pipx/plugin.json b/plugins/pipx/plugin.json index 541cc30..850051f 100644 --- a/plugins/pipx/plugin.json +++ b/plugins/pipx/plugin.json @@ -2,7 +2,7 @@ "name": "pipx", "version": "0.1.0", "description": "Installs Pipx and makes it available", - "packages": ["pipx@latest"], + "packages": ["pipx@1.4"], "env": { "PIPX_HOME": "{{ .Virtenv }}", "PIPX_BIN_DIR": "{{ .Virtenv }}/bin"