Skip to content

Commit 547f3c3

Browse files
authored
full files for the software
these files are enough to create MSI file for any operating system
1 parent 92be662 commit 547f3c3

File tree

5 files changed

+21
-0
lines changed

5 files changed

+21
-0
lines changed

icon.ico

137 KB
Binary file not shown.

setup.py

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import cx_Freeze
2+
import sys
3+
import os
4+
base = None
5+
6+
if sys.platform == 'win32':
7+
base = "Win32GUI"
8+
9+
os.environ['TCL_LIBRARY'] = r"C:\Users\Deepak\AppData\Local\Programs\Python\Python37-32\tcl\tcl8.6"
10+
os.environ['Tk_LIBRARY'] = r"C:\Users\Deepak\AppData\Local\Programs\Python\Python37-32\tcl\tk8.6"
11+
12+
executables = [cx_Freeze.Executable('struct_text_editor.py',base =base , icon='icon.ico')]
13+
14+
cx_Freeze.setup(
15+
name = "Struct Text Editor",
16+
options = {"build_exe":{"packages":["tkinter","os"],"include_files":["icon.ico",'tcl86t.dll','tk86t.dll','icons']}},
17+
version = "0.01",
18+
description = "Tkinter Application",
19+
executables = executables
20+
)

struct_text_editor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# starting code..........///.
2+
# importing modules...
23
import tkinter as tk
34
from tkinter import ttk
45
from tkinter import font, colorchooser,filedialog,messagebox

tcl86t.dll

1.27 MB
Binary file not shown.

tk86t.dll

1.15 MB
Binary file not shown.

0 commit comments

Comments
 (0)