diff --git a/led_system_monitor.py b/led_system_monitor.py index c519af1..7788d8e 100644 --- a/led_system_monitor.py +++ b/led_system_monitor.py @@ -7,18 +7,7 @@ from drawing import draw_cpu, draw_memory, draw_battery, draw_borders_left, draw from monitors import CPUMonitor, MemoryMonitor, BatteryMonitor, DiskMonitor, NetworkMonitor, get_monitor_brightness # External Dependencies -try: - # These are used in later scripts, but imported here to test if missing - import serial # pyserial - from serial.tools import list_ports - import numpy as np -except ImportError: - import pip - for dependency in ["numpy", "pyserial"]: - pip.main(['install', '--user', dependency]) - import numpy as np - -# print(sbc.get_brightness()) +import numpy as np if __name__ == "__main__": diff --git a/ledmatrix_gui_windows.exe b/ledmatrix_gui_windows.exe deleted file mode 100644 index 3a721a1..0000000 Binary files a/ledmatrix_gui_windows.exe and /dev/null differ diff --git a/run.bat b/run.bat new file mode 100644 index 0000000..eeb75fa --- /dev/null +++ b/run.bat @@ -0,0 +1,3 @@ +py -3 -m pip install pyserial numpy + +py -3 led_system_monitor.py \ No newline at end of file diff --git a/start.bat b/start.bat deleted file mode 100644 index 3eee3f4..0000000 --- a/start.bat +++ /dev/null @@ -1 +0,0 @@ -py -3 led_system_monitor.py \ No newline at end of file