Skip to content

Commit a57998c

Browse files
authored
ULP: python path is already set (#257)
1 parent aa97eb0 commit a57998c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

builder/frameworks/ulp.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
from platformio import fs
1919
from platformio.util import get_systype
20-
from platformio.proc import where_is_program, exec_command
20+
from platformio.proc import exec_command
2121

2222
from SCons.Script import Import
2323

@@ -48,13 +48,11 @@ def prepare_ulp_env_vars(env):
4848
else None
4949
)
5050

51-
python_dir = os.path.dirname(ulp_env.subst("$PYTHONEXE")) or ""
5251
additional_packages = [
5352
toolchain_path,
5453
toolchain_path_ulp,
5554
platform.get_package_dir("tool-ninja"),
5655
os.path.join(platform.get_package_dir("tool-cmake"), "bin"),
57-
python_dir,
5856
]
5957

6058
for package in additional_packages:

0 commit comments

Comments
 (0)