Skip to content

Commit 3f567ff

Browse files
Update README.md
1 parent 0d7ee38 commit 3f567ff

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,15 @@ And then use [UPX](https://upx.github.io/) to decrease file size:
2020
upx aurora_text_editor.exe
2121
```
2222

23+
For standalone EXE and portability add change the **Nuitka Python to C compiler options** section in the source code file to this:
24+
```
25+
# <--- Nuitka Python to C compiler options
26+
# nuitka-project: --disable-console
27+
# nuitka-project: --lto=yes
28+
# nuitka-project: --enable-plugin=tk-inter
29+
# nuitka-project: --onefile
30+
# --->
31+
```
32+
2333
## === Why? ===
2434
Consider this program as a lesson for those who want to write their own text editor or other GUI program using Python and Tkinter. Enjoy!

0 commit comments

Comments
 (0)