forked from ritesh1601/Text-Editor
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
25 lines (21 loc) · 685 Bytes
/
setup.py
File metadata and controls
25 lines (21 loc) · 685 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import cx_Freeze
import sys
import os
base = None
if sys.platform == 'win32':
base = "Win32GUI"
os.environ['TCL_LIBRARY'] = r"/Users/ritikbansal/Documents/GitHub/Text-Editor/setup.py"
os.environ['TK_LIBRARY'] = r"/Users/ritikbansal/Documents/GitHub/Text-Editor/setup.py"
executables = [cx_Freeze.Executable("vpad.py", base=base, icon="icon.ico")]
cx_Freeze.setup(
name = "Vpad Text Editor",
options = {
"build_exe": {
"packages":["tkinter", "os", "distutils"],
"include_files":["icon.ico",'tcl86t.dll','tk86t.dll', 'icons2']
}
},
version = "0.01",
description = "Tkinter Application",
executables = executables
)