Skip to content

Commit 62697f2

Browse files
committed
Add functionality to skip installation of IDF's Python deps
1 parent 62f67a6 commit 62697f2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

builder/frameworks/espidf.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1109,6 +1109,10 @@ def _get_installed_pip_packages(python_exe_path):
11091109

11101110
return result
11111111

1112+
skip_python_packages = os.path.join(FRAMEWORK_DIR, ".pio_skip_pypackages")
1113+
if os.path.isfile(skip_python_packages):
1114+
return
1115+
11121116
deps = {
11131117
# https://github.com/platformio/platformio-core/issues/4614
11141118
"urllib3": "<2",

0 commit comments

Comments
 (0)