-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
44 lines (39 loc) · 1.28 KB
/
setup.py
File metadata and controls
44 lines (39 loc) · 1.28 KB
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
35
36
37
38
39
40
41
42
43
import sys
from cx_Freeze import *
base = None
if (sys.platform == "win32"):
base = "Win32GUI"
build_exe_options = {
"include_files": ["audioControls.py",
"progressBar.py",
"tools",
"gui_element_graphics",
"app_icon.ico",
"save_file"
],
"includes": ["tkinter", "threading", "ttkthemes", "queue", "subprocess", "functools", "ffmpy", "os", "pickle", "sys", "time", "datetime", "webbrowser", "json"]
}
build_msi_options = {
"initial_target_dir": ["C:\Program Files\tool.box"],
"shortcutName":["tool.box"],
"shortcutDir":["DesktopFolder"]
}
setup(name='tool.box',
version='4.0.1',
author='James Allnutt',
options={
'build_exe': build_exe_options,
'build_msi': build_msi_options
},
description='Production tool.box',
executables=[
Executable(
"main.py",
copyright="Copyright (C) James Allnutt 2020",
icon="C:\\Users\\jallnutt\\OneDrive - Opus 2\\Documents\\GitHub\\Local Server Requests\\Python-Audio-File-Splicer\\app_icon.ico",
shortcutName="tool.box",
shortcutDir="DesktopFolder",
base=base
)
]
)