-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·34 lines (31 loc) · 1.2 KB
/
setup.py
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
26
27
28
29
30
31
32
33
34
from cx_Freeze import setup, Executable
import os
exe = Executable(
script=os.path.join("Cipher.pyw"),
base="Win32GUI",
icon=os.path.join("Files", "Icon.ico")
)
includeFiles= [os.path.join("Files", file) for file in
["Dictionary.txt", "cipher.options", "Icon.ico", "Logo.png",
"Missing_Dependancies.html", "Cipher Info.txt",
"Licence.txt", "About.txt", "Attributions.txt"
]
]+[
os.path.join("Files", "ButtonIcons", file) for file in
["Copy.png", "Cut.png", "Exit.png", "Info.png",
"Paste.png", "Redo.png", "Undo.png", "Red X.png",
"Green Check.png", "Open.png", "Save.png",
"Save As.png", "Plus.png", "Minus.png",
"Contact.png", "Bug.png", "About.png"]
]
excludes = ["Tkinter"]
setup(
name = "Cipher",
version = "1.1",
author = "Dominick Johnson",
author_email = "[email protected]",
description = "Basic Text Encryption Software",
executables = [exe],
options = {'build_exe': {"excludes":excludes,
"include_files":includeFiles}}
)