Skip to content

Commit 0ce9414

Browse files
committed
build: set pyinstaller version and update build doc
1 parent a59826b commit 0ce9414

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

build-instructions.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1-
# macOS
1+
# Linux / macOS
22

3-
`pyinstaller -F -w -n ESPHome-Flasher -i icon.icns esphomeflasher/__main__.py`
3+
* `pip install -r requirements_build.txt`
4+
* `pyinstaller -F -w -n FujiNet-Flasher -i icon.icns esphomeflasher/__main__.py`
45

56
# Windows
67

7-
1. Start up VM
8-
2. Install Python (3) from App Store
9-
3. Download esphome-flasher from GitHub
10-
4. `pip install -e.` and `pip install pyinstaller`
11-
5. Check with `python -m esphomeflasher.__main__`
12-
6. `python -m PyInstaller.__main__ -F -w -n ESPHome-Flasher -i icon.ico esphomeflasher\__main__.py`
13-
7. Go to `dist` folder, check ESPHome-Flasher.exe works.
8+
* `pip install pyinstaller`
9+
* `pip install -r requirements_build.txt`
10+
* `pip install -e.`
11+
* `python -m PyInstaller.__main__ -F -w -n FujiNet-Flasher -i icon.ico esphomeflasher\__main__.py`

requirements_build.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ wheel
33
wxpython==4.1.1
44
esptool==3.0
55
requests>=2.24.0,<3
6-
pyinstaller>=4.5.1,<5
6+
pyinstaller==4.10
7+
pyinstaller-hooks-contrib==2023.2
78
certifi
89
cryptography>=3.4.8

0 commit comments

Comments
 (0)