-
Notifications
You must be signed in to change notification settings - Fork 13
Closed
Description
Checklist
- Checked the issue tracker for similar issues to ensure this is not a duplicate.
- Described the feature in detail and justified the reason for the request.
- Provided specific use cases and examples.
Feature description
Inspired by the releases provided by esptool, consider generating PyInstaller binaries for esp_idf_monitor
.
Use cases
Setting esp-idf-monitor
up on non-technical colleagues computers involves installing Python, explaining the use of python -m esp_idf_monitor
and is generally somewhat of a chore.
This could be reduced to download, unzip and run 😃
Alternatives
No response
Additional context
This can be achieved by:
diff --git a/esp_idf_monitor/__main__.py b/esp_idf_monitor/__main__.py
index 1f7b826..79a656f 100644
--- a/esp_idf_monitor/__main__.py
+++ b/esp_idf_monitor/__main__.py
@@ -1,4 +1,4 @@
-from .idf_monitor import main
+from esp_idf_monitor.idf_monitor import main
if __name__ == '__main__':
main()
Required due to pyinstaller/pyinstaller#2560.
Followed by:
pyinstaller --onefile --name esp-idf-monitor esp_idf_monitor/__main__.py