Add rye support (#799)

Rye is a new cargo-like package manager for python by @mitsuhiko.
This commit is contained in:
Alok Singh
2024-05-13 05:52:13 -07:00
committed by GitHub
parent 4d66431aad
commit 2a1999fe20
3 changed files with 9 additions and 0 deletions

View File

@@ -227,6 +227,13 @@ pub fn run_rustup(ctx: &ExecutionContext) -> Result<()> {
ctx.run_type().execute(rustup).arg("update").status_checked()
}
pub fn run_rye(ctx: &ExecutionContext) -> Result<()> {
let rye = require("rye")?;
print_separator("Rye");
ctx.run_type().execute(rye).args(["self", "update"]).status_checked()
}
pub fn run_elan(ctx: &ExecutionContext) -> Result<()> {
let elan = require("elan")?;