1
- # -*- mode: python -*-
2
- import sys
3
-
4
- app_name = 'vintel'
5
-
6
- a = Analysis (['vintel.py' ],
7
- pathex = ['z:\\ mark\\ code\\ vintel\\ src' if sys .platform == 'win32' else '/Users/mark/code/vintel/src' ],
8
- hiddenimports = [],
9
- hookspath = None ,
10
- runtime_hooks = None ,
11
- excludes = None )
12
-
13
- pyz = PYZ (a .pure )
14
-
15
- a .datas += [('vi/ui/MainWindow.ui' , 'vi/ui/MainWindow.ui' , 'DATA' ),
16
- ('vi/ui/SystemChat.ui' , 'vi/ui/SystemChat.ui' , 'DATA' ),
17
- ('vi/ui/ChatEntry.ui' , 'vi/ui/ChatEntry.ui' , 'DATA' ),
18
- ('vi/ui/Info.ui' , 'vi/ui/Info.ui' , 'DATA' ),
19
- ('vi/ui/ChatroomsChooser.ui' , 'vi/ui/ChatroomsChooser.ui' , 'DATA' ),
20
- ('vi/ui/RegionChooser.ui' , 'vi/ui/RegionChooser.ui' , 'DATA' ),
21
- ('vi/ui/SoundSetup.ui' , 'vi/ui/SoundSetup.ui' , 'DATA' ),
22
- ('vi/ui/JumpbridgeChooser.ui' , 'vi/ui/JumpbridgeChooser.ui' , 'DATA' ),
23
- ('vi/ui/res/qmark.png' , 'vi/ui/res/qmark.png' , 'DATA' ),
24
- ('vi/ui/res/logo.png' , 'vi/ui/res/logo.png' , 'DATA' ),
25
- ('vi/ui/res/logo_small.png' , 'vi/ui/res/logo_small.png' , 'DATA' ),
26
- ('vi/ui/res/logo_small_green.png' , 'vi/ui/res/logo_small_green.png' , 'DATA' ),
27
- ('vi/ui/res/178028__zimbot__bosun-whistle-sttos-recreated.wav' ,
28
- 'vi/ui/res/178028__zimbot__bosun-whistle-sttos-recreated.wav' , 'DATA' ),
29
- ('vi/ui/res/178031__zimbot__transporterstartbeep0-sttos-recreated.wav' ,
30
- 'vi/ui/res/178031__zimbot__transporterstartbeep0-sttos-recreated.wav' , 'DATA' ),
31
- ('vi/ui/res/178032__zimbot__redalert-klaxon-sttos-recreated.wav' ,
32
- 'vi/ui/res/178032__zimbot__redalert-klaxon-sttos-recreated.wav' , 'DATA' ),
33
- ('vi/ui/res/mapdata/Providencecatch.svg' ,
34
- 'vi/ui/res/mapdata/Providencecatch.svg' , 'DATA' ),
35
- ('docs/jumpbridgeformat.txt' , 'docs/jumpbridgeformat.txt' , 'DATA' ),
36
- ]
37
-
38
- exe = EXE (pyz ,
39
- a .scripts ,
40
- a .binaries ,
41
- a .zipfiles ,
42
- a .datas ,
43
- name = os .path .join ('dist' , app_name + ('.exe' if sys .platform == 'win32' else '' )),
44
- debug = False ,
45
- strip = None ,
46
- upx = True ,
47
- icon = "icon.ico" ,
48
- console = False )
49
-
50
- # Build a .app if on OS X
51
- if sys .platform == 'darwin' :
52
- app = BUNDLE (exe ,
53
- name = app_name + '.app' ,
54
- icon = "icon.ico" )
1
+ # -*- mode: python -*-
2
+ import sys
3
+
4
+ app_name = 'vintel'
5
+ block_cipher = None
6
+
7
+ a = Analysis (['vintel.py' ],
8
+ pathex = ['z:\\ mark\\ code\\ vintel\\ src' if sys .platform == 'win32' else '/Users/mark/code/vintel/src' ],
9
+ binaries = None ,
10
+ datas = None ,
11
+ hiddenimports = [],
12
+ hookspath = [],
13
+ runtime_hooks = [],
14
+ excludes = [],
15
+ win_no_prefer_redirects = False ,
16
+ win_private_assemblies = False ,
17
+ cipher = block_cipher )
18
+
19
+ pyz = PYZ (a .pure , a .zipped_data , cipher = block_cipher )
20
+
21
+ a .datas += [('vi/ui/MainWindow.ui' , 'vi/ui/MainWindow.ui' , 'DATA' ),
22
+ ('vi/ui/SystemChat.ui' , 'vi/ui/SystemChat.ui' , 'DATA' ),
23
+ ('vi/ui/ChatEntry.ui' , 'vi/ui/ChatEntry.ui' , 'DATA' ),
24
+ ('vi/ui/Info.ui' , 'vi/ui/Info.ui' , 'DATA' ),
25
+ ('vi/ui/ChatroomsChooser.ui' , 'vi/ui/ChatroomsChooser.ui' , 'DATA' ),
26
+ ('vi/ui/RegionChooser.ui' , 'vi/ui/RegionChooser.ui' , 'DATA' ),
27
+ ('vi/ui/SoundSetup.ui' , 'vi/ui/SoundSetup.ui' , 'DATA' ),
28
+ ('vi/ui/JumpbridgeChooser.ui' , 'vi/ui/JumpbridgeChooser.ui' , 'DATA' ),
29
+ ('vi/ui/res/qmark.png' , 'vi/ui/res/qmark.png' , 'DATA' ),
30
+ ('vi/ui/res/logo.png' , 'vi/ui/res/logo.png' , 'DATA' ),
31
+ ('vi/ui/res/logo_small.png' , 'vi/ui/res/logo_small.png' , 'DATA' ),
32
+ ('vi/ui/res/logo_small_green.png' , 'vi/ui/res/logo_small_green.png' , 'DATA' ),
33
+ ('vi/ui/res/178028__zimbot__bosun-whistle-sttos-recreated.wav' , 'vi/ui/res/178028__zimbot__bosun-whistle-sttos-recreated.wav' , 'DATA' ),
34
+ ('vi/ui/res/178031__zimbot__transporterstartbeep0-sttos-recreated.wav' , 'vi/ui/res/178031__zimbot__transporterstartbeep0-sttos-recreated.wav' , 'DATA' ),
35
+ ('vi/ui/res/178032__zimbot__redalert-klaxon-sttos-recreated.wav' , 'vi/ui/res/178032__zimbot__redalert-klaxon-sttos-recreated.wav' , 'DATA' ),
36
+ ('vi/ui/res/mapdata/Providencecatch.svg' , 'vi/ui/res/mapdata/Providencecatch.svg' , 'DATA' ),
37
+ ('docs/jumpbridgeformat.txt' , 'docs/jumpbridgeformat.txt' , 'DATA' ),
38
+ ]
39
+
40
+ exe = EXE (pyz ,
41
+ a .scripts ,
42
+ a .binaries ,
43
+ a .zipfiles ,
44
+ a .datas ,
45
+ name = os .path .join ('dist' , app_name + ('.exe' if sys .platform == 'win32' else '' )),
46
+ debug = False ,
47
+ strip = False ,
48
+ icon = 'icon.ico' ,
49
+ console = False ,
50
+ cipher = block_cipher )
51
+
52
+ # Build a .app if on OS X
53
+ if sys .platform == 'darwin' :
54
+ app = BUNDLE (exe ,
55
+ name = app_name + '.app' ,
56
+ icon = 'icon.ico' )
0 commit comments