Skip to content

Commit

Permalink
fix venv path
Browse files Browse the repository at this point in the history
  • Loading branch information
ibraheemdev committed Apr 26, 2024
1 parent 161239d commit 4b5fef3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/bench/benches/uv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ fn install_warm(c: &mut Criterion<WallTime>) {
requirements.file_stem().unwrap().to_string_lossy()
);

let venv_dir = fs::canonicalize("./.venv").unwrap();
let venv_dir = fs::canonicalize("../../.venv").unwrap();
println!("{}", &venv_dir.display());
env::set_var("VIRTUAL_ENV", &venv_dir);

let temp_dir = tempfile::tempdir().unwrap();
Expand Down

0 comments on commit 4b5fef3

Please sign in to comment.