File tree Expand file tree Collapse file tree 1 file changed +14
-17
lines changed Expand file tree Collapse file tree 1 file changed +14
-17
lines changed Original file line number Diff line number Diff line change 1
1
import sys
2
2
from cx_Freeze import setup , Executable
3
3
4
- # Dependencies are automatically detected, but it might need
5
- # fine tuning.
6
- copyfiles = [
7
- ('C:\Python34\Lib\site-packages\PyQt5\libEGL.dll' , 'libEGL.dll' ),
8
- 'tardis.ico' , # Google for a fancy tardis icon until I've made one
9
- 'LICENSE'
10
- ]
11
- buildOptions = dict (packages = [], excludes = [], include_files = copyfiles )
4
+
12
5
13
6
# GUI applications require a different base on Windows (the default is for a
14
7
# console application).
26
19
)
27
20
]
28
21
29
- options = {
30
- 'build_exe' : {
31
- 'include_files' : [],
32
- 'path' : sys .path + ['modules' ]
33
- },
34
- "bdist_msi" : {
35
- 'upgrade-code' : '{22456291-8eb9-4383-86db-e34658f10242}'
36
- }
22
+ # Dependencies are automatically detected, but it might need
23
+ # fine tuning.
24
+ copyfiles = [
25
+ ('C:\Python34\Lib\site-packages\PyQt5\libEGL.dll' , 'libEGL.dll' ),
26
+ 'tardis.ico' , # Google for a fancy tardis icon until I've made one
27
+ 'LICENSE'
28
+ ]
29
+ build_exe_options = dict (packages = [], excludes = [], include_files = copyfiles )
30
+
31
+ bdist_msi_options = {
32
+ "upgrade_code" : "{22456291-8eb9-4383-86db-e34658f10242}"
37
33
}
38
34
39
35
46
42
install_requires = [
47
43
'uptime' ,
48
44
],
49
- options = dict (build_exe = buildOptions ),
45
+ options = dict (build_exe = build_exe_options ,
46
+ bdist_msi = bdist_msi_options ),
50
47
executables = executables
51
48
)
You can’t perform that action at this time.
0 commit comments