feat(tools): Inform user about IDF_PATH set/change in install/export scripts

This commit is contained in:
Marek Fiala
2024-11-07 10:46:50 +01:00
committed by BOT
parent ab3d179f53
commit cad15b50c4
12 changed files with 37 additions and 19 deletions

View File

@@ -33,6 +33,7 @@ os.environ['IDF_PYTHON_ENV_PATH'] = '' # let idf_tools get the pyenv path
idf_tools.g.idf_tools_path = os.environ.get('IDF_TOOLS_PATH') or os.path.expanduser(idf_tools.IDF_TOOLS_PATH_DEFAULT)
idf_python_env_path, idf_python_export_path, virtualenv_python, idf_version = idf_tools.get_python_env_path()
os.environ['IDF_PATH_OLD'] = os.environ.get('IDF_PATH', '')
os.environ['IDF_PATH'] = idf_path
os.environ['IDF_PYTHON_ENV_PATH'] = idf_python_env_path
os.environ['ESP_IDF_VERSION'] = idf_version