2020-01-19 22:51:45 +00:00
|
|
|
diff --git a/platformio/proc.py b/platformio/proc.py
|
|
|
|
index 80e50201..15cee5a5 100644
|
|
|
|
--- a/platformio/proc.py
|
|
|
|
+++ b/platformio/proc.py
|
|
|
|
@@ -167,7 +167,7 @@ def copy_pythonpath_to_osenv():
|
|
|
|
conditions.append(isdir(join(p, "click")) or isdir(join(p, "platformio")))
|
2017-09-29 14:05:31 +01:00
|
|
|
if all(conditions):
|
|
|
|
_PYTHONPATH.append(p)
|
2020-01-19 22:51:45 +00:00
|
|
|
- os.environ["PYTHONPATH"] = os.pathsep.join(_PYTHONPATH)
|
|
|
|
+ os.environ["PYTHONPATH"] = os.pathsep.join(sys.path)
|
2017-09-29 14:05:31 +01:00
|
|
|
|
|
|
|
|
2020-01-19 22:51:45 +00:00
|
|
|
def where_is_program(program, envpath=None):
|