2020-04-24 23:36:52 +00:00
|
|
|
diff --git a/platformio/proc.py b/platformio/proc.py
|
|
|
|
index 80e50201..15cee5a5 100644
|
|
|
|
--- a/platformio/proc.py
|
|
|
|
+++ b/platformio/proc.py
|
2022-03-05 16:20:37 +00:00
|
|
|
@@ -181,7 +181,7 @@ def copy_pythonpath_to_osenv():
|
2020-04-24 23:36:52 +00:00
|
|
|
conditions.append(isdir(join(p, "click")) or isdir(join(p, "platformio")))
|
|
|
|
if all(conditions):
|
|
|
|
_PYTHONPATH.append(p)
|
|
|
|
- os.environ["PYTHONPATH"] = os.pathsep.join(_PYTHONPATH)
|
|
|
|
+ os.environ["PYTHONPATH"] = os.pathsep.join(sys.path)
|
|
|
|
|
|
|
|
|
|
|
|
def where_is_program(program, envpath=None):
|