Skip to content

Commit

Permalink
small python env change
Browse files Browse the repository at this point in the history
  • Loading branch information
Petr Gadorek committed Jul 26, 2024
1 parent 50af467 commit 0c65e91
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ edition = "2021"

[dependencies]
tokio = {version = "1.37.0", features=["full"]}
idf-im-lib = { git = "https://github.com/espressif/idf-im-lib.git", branch="master" }
idf-im-lib = { git = "https://github.com/espressif/idf-im-lib.git", rev="9a7a3e4806b63ce9b1a49538772fbc9c5e00619a" }
clap = {version = "4.5", features = ["cargo", "derive", "color"]}
crossterm = "0.27.0"
dialoguer = { git = "https://github.com/Hahihula/dialoguer.git", branch = "folder-select", features = ["folder-select"] }
Expand Down
2 changes: 2 additions & 0 deletions src/wizard/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -713,6 +713,7 @@ pub async fn run_wizzard_run(mut config: Settings) -> Result<(), String> {
panic!("{}", t!("wizard.idf_tools.unreachable"));
}
}
println!("ENV before install {:?}", env_vars);
let out = run_with_spinner::<_, Result<String, String>>(|| {
idf_im_lib::python_utils::run_python_script_from_file(
idf_tools_path.to_str().unwrap(),
Expand All @@ -730,6 +731,7 @@ pub async fn run_wizzard_run(mut config: Settings) -> Result<(), String> {
t!("wizard.idf_tools.failed_to_run", e = err.to_string())
),
}
println!("ENV before install-python-env {:?}", env_vars);
let output = idf_im_lib::python_utils::run_python_script_from_file(
idf_tools_path.to_str().unwrap(),
Some("install-python-env"),
Expand Down

0 comments on commit 0c65e91

Please sign in to comment.