-
-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathcreate_exe.txt
More file actions
18 lines (10 loc) · 614 Bytes
/
create_exe.txt
File metadata and controls
18 lines (10 loc) · 614 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
To create the exe:
1. Delete build directories, i.e. dist, build, etc. to prevent virus detection problems, see:
https://plainenglish.io/blog/pyinstaller-exe-false-positive-trojan-virus-resolved-b33842bd3184
2. Create exe:
pyinstaller --onefile -w .\MLM2Pro-GSPro-Connector.py
3. Copy .exe to test dictory & test
4. Copy to releases, add additional files, compress
Using Nuitka:
python -m nuitka --onefile --show-progress --show-modules --enable-plugin=pyside6 --output-dir=nuitka-build --windows-console-mode=disable .\MLM2Pro-GSPro-Connector.py
Add --remove-output to delete build directory after build