Commit 879bb01
use local modules if main.py is run directly.
When west/app/main.py is executed directly, also the correct West
modules must be imported. Therefore, the Python module search path is
configured appropriately before importing any West modules.1 parent 5aac5d7 commit 879bb01
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
33 | 40 | | |
34 | 41 | | |
35 | 42 | | |
| |||
0 commit comments