feat: update depot version to 0.17.0 and enhance Python build/install commands

This commit is contained in:
2026-03-11 01:02:36 -05:00
parent aff2c68ce5
commit f72b6c46de
9 changed files with 236 additions and 29 deletions
+27
View File
@@ -152,6 +152,33 @@ pub enum Commands {
#[arg(short, long)]
output: Option<PathBuf>,
},
#[command(hide = true)]
Internal {
#[command(subcommand)]
command: InternalCommands,
},
}
#[derive(Subcommand)]
pub enum InternalCommands {
#[command(hide = true)]
PythonBuild {
#[arg(long, default_value = ".")]
src_dir: PathBuf,
#[arg(long, default_value = "dist")]
dist_dir: PathBuf,
#[arg(long = "config-setting")]
config_settings: Vec<String>,
},
#[command(hide = true)]
PythonInstall {
#[arg(long, default_value = "dist")]
dist_dir: PathBuf,
#[arg(long = "wheel", value_name = "FILE")]
wheels: Vec<PathBuf>,
#[arg(long, default_value = "/usr")]
prefix: String,
},
}
#[derive(Subcommand)]