forked from esphome/esphome-flasher
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: set pyinstaller version and update build doc
- Loading branch information
Showing
2 changed files
with
9 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
# macOS | ||
# Linux / macOS | ||
|
||
`pyinstaller -F -w -n ESPHome-Flasher -i icon.icns esphomeflasher/__main__.py` | ||
* `pip install -r requirements_build.txt` | ||
* `pyinstaller -F -w -n FujiNet-Flasher -i icon.icns esphomeflasher/__main__.py` | ||
|
||
# Windows | ||
|
||
1. Start up VM | ||
2. Install Python (3) from App Store | ||
3. Download esphome-flasher from GitHub | ||
4. `pip install -e.` and `pip install pyinstaller` | ||
5. Check with `python -m esphomeflasher.__main__` | ||
6. `python -m PyInstaller.__main__ -F -w -n ESPHome-Flasher -i icon.ico esphomeflasher\__main__.py` | ||
7. Go to `dist` folder, check ESPHome-Flasher.exe works. | ||
* `pip install pyinstaller` | ||
* `pip install -r requirements_build.txt` | ||
* `pip install -e.` | ||
* `python -m PyInstaller.__main__ -F -w -n FujiNet-Flasher -i icon.ico esphomeflasher\__main__.py` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters