You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-14Lines changed: 5 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,25 +11,16 @@ Minimalistic text editor created with Python and Tkinter. If you need to write s
11
11
- Portable
12
12
13
13
## === How to compile ===
14
-
To compile use [Nuitka](https://nuitka.net/) (Python code to C code converter, which then uses the default C compiler in your OS to build the program):
14
+
To compile you need to install [Nuitka](https://nuitka.net/) (Python code to C code converter, which uses the default C compiler in your OS to build the program):
15
+
- For standard build run
15
16
```
16
-
python -m nuitka aurora_text_editor.py
17
-
```
18
-
And then use [UPX](https://upx.github.io/) to decrease file size:
19
-
```
20
-
upx aurora_text_editor.exe
17
+
build.bat
21
18
```
22
19
23
-
For standalone EXE and portability change the **Nuitka Python to C compiler options** section in the source code file to this:
20
+
-For standalone build run:
24
21
```
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
-
# --->
22
+
build_standalone.bat
31
23
```
32
-
And again execute 2 previous commands.
33
24
34
25
## === Why? ===
35
26
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