-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
34 lines (29 loc) · 942 Bytes
/
setup.py
File metadata and controls
34 lines (29 loc) · 942 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
26
27
28
29
30
31
32
33
34
import sys, os
from cx_Freeze import setup, Executable
base = "Win32GUI"
executables = [Executable("main.py", base=base)]
packages = ["vlc", "sys", "ctypes", "os", "yaml",
"functools", "inspect", "tkinter"]
options = {
'build_exe': {
'packages':packages,
'''
#Auto copy of the DLLs is not working
# at this time. You'll have to manually
# copy them from the directory below.
'include_files': [
r'C:\Program Files\Python36\DLLs\tk86t.dll',
r'C:\Program Files\Python36\DLLs\tcl86t.dll'
], #'''
},
}
os.environ['TCL_LIBRARY'] = r'C:\Program Files\Python36\tcl\tcl8.6'
os.environ['TK_LIBRARY'] = r'C:\Program Files\Python36\tcl\tk8.6'
setup(
name = "PanelView for IP cams",
author = "Jack Butler",
options = options,
version = "1.0",
description = 'A 4 panel view for IP cams.',
executables = executables
)