Merge branch 'bugfix/idf_tools_virtualenv_seeder' into 'master'

tools/idf_tools.py: Changed default AppData seeder to seeder pip

Closes IDF-3879

See merge request espressif/esp-idf!15247
This commit is contained in:
Roland Dobai 2021-09-23 13:17:24 +00:00
commit bc8c191357

View File

@ -1516,7 +1516,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')