Skip to content

Commit

Permalink
Extend system info with Python and PIO Core executables // Issue #3521
Browse files Browse the repository at this point in the history
  • Loading branch information
ivankravets committed Jun 23, 2020
1 parent a172a17 commit 164ae2b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions platformio/commands/system/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,16 @@ def system_info(json_output):
"title": "PlatformIO Core Directory",
"value": project_config.get_optional_dir("core"),
}
data["platformio_exe"] = {
"title": "PlatformIO Core Executable",
"value": proc.where_is_program(
"platformio.exe" if proc.WINDOWS else "platformio"
),
}
data["python_exe"] = {
"title": "Python Executable",
"value": proc.get_pythonexe_path(),
}
data["global_lib_nums"] = {
"title": "Global Libraries",
"value": len(LibraryManager().get_installed()),
Expand Down

0 comments on commit 164ae2b

Please sign in to comment.