Skip to content

Commit 1970a2e

Browse files
authored
Create README.md
1 parent 00cd84e commit 1970a2e

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
## Generate Executable binaries / EXE
2+
3+
The WINDOWS version was created with pyinstaller. Pyinstaller and gdal - that is [quite a thing](https://stackoverflow.com/questions/56472933/pyinstaller-executable-fails).
4+
Solution steps
5+
6+
1. Install pip packages
7+
```sh
8+
pip install pyinstaller
9+
```
10+
2. run pyinstaller
11+
```sh
12+
pyinstaller --noconfirm --onefile --console --noconfirm --onefile --console "rm_process_pug_images.py"
13+
```
14+
( Incase you don't find pyinstaller `python.exe" "<path_to_python>\Lib\site-packages\PyInstaller\__main__.py" --noconfirm --onefile --console "rm_process_pug_images.py"`
15+
16+
3. copy files and folder
17+
- `pgu_mask.png`
18+
- folder `models` including content
19+
- `rm_process_pug_images.exe`
20+
21+
Now you shoudl be able to run it whereever you are allowed to run software ....

0 commit comments

Comments
 (0)