Merge branch 'bugfix/idf_tools_virtualenv_seeder_v4.1' into 'release/v4.1'

tools/idf_tools.py: Changed default AppData seeder to seeder pip (backport v4.1)

See merge request espressif/esp-idf!15351
This commit is contained in:
Roland Dobai 2021-09-27 12:33:42 +00:00
commit 80ba98aa9d

View File

@ -1243,7 +1243,7 @@ def action_install_python_env(args): # type: ignore
subprocess.check_call([sys.executable, '-m', 'pip', 'install', '--user', 'virtualenv'],
stdout=sys.stdout, stderr=sys.stderr)
subprocess.check_call([sys.executable, '-m', 'virtualenv', idf_python_env_path],
subprocess.check_call([sys.executable, '-m', 'virtualenv', '--seeder', 'pip', idf_python_env_path],
stdout=sys.stdout, stderr=sys.stderr)
run_args = [virtualenv_python, '-m', 'pip', 'install', '--no-warn-script-location']
requirements_txt = os.path.join(global_idf_path, 'requirements.txt')