feat(pipx support): Add support for pipx

This is a series of commits intended to add support for pipx in pacdef.
WIP.

Signed-off-by: innocentzero <isfarulhaque@proton.me>
This commit is contained in:
innocentzero
2024-01-23 20:42:54 +05:30
parent ec1aab4b43
commit 050a844bc2
3 changed files with 34 additions and 4 deletions
+4
View File
@@ -24,6 +24,9 @@ pub struct Config {
/// Backends the user does not want to use even though the binary exists.
#[serde(default)]
pub disabled_backends: Vec<String>,
/// Choose whether to use pipx instead of pip for python package management
#[serde(default)]
pub pip_binary: String,
}
fn yes() -> bool {
@@ -86,6 +89,7 @@ impl Default for Config {
flatpak_systemwide: true,
warn_not_symlinks: true,
disabled_backends: vec![],
pip_binary: "pip".into(),
}
}
}