@@ -37,7 +37,21 @@ MAVExpAny = Analysis(['.\\tools\\MAVExplorer.py'],
3737 hookspath = None ,
3838 runtime_hooks = None ,
3939 excludes = ['sphinx' , 'docutils' , 'alabaster' , 'FixTk' , 'tcl' , 'tk' , '_tkinter' , 'tkinter' , 'Tkinter' ])
40- # MERGE( (MAVProxyAny, 'mavproxy', 'mavproxy'), (MAVExpAny, 'MAVExplorer', 'MAVExplorer') )
40+ MAVPicViewerAny = Analysis (['.\\ tools\\ mavpicviewer\\ mavpicviewer.py' ],
41+ pathex = [os .path .abspath ('.' )],
42+ # for some unknown reason these hidden imports don't pull in
43+ # all the needed pieces, so we also import them in mavproxy.py
44+ hiddenimports = ['cv2' , 'wx' ,
45+ 'numpy' , 'dateutil' ,
46+ 'wx.lib.agw.genericmessagedialog' , 'wx.lib.wordwrap' , 'wx.lib.buttons' ,
47+ 'wx.lib.embeddedimage' , 'wx.lib.imageutils' , 'wx.lib.agw.aquabutton' ,
48+ 'wx.lib.agw.gradientbutton' , 'FileDialog' , 'Dialog' ,
49+ ] + collect_submodules ('pymavlink' ),
50+ datas = [],
51+ hookspath = None ,
52+ runtime_hooks = None ,
53+ excludes = ['sphinx' , 'docutils' , 'alabaster' , 'FixTk' , 'tcl' , 'tk' , '_tkinter' , 'tkinter' , 'Tkinter' ])
54+ # MERGE( (MAVProxyAny, 'mavproxy', 'mavproxy'), (MAVExpAny, 'MAVExplorer', 'MAVExplorer'), (MAVPicViewerAny, 'mavpicviewer', 'mavpicviewer') )
4155MAVProxy_pyz = PYZ (MAVProxyAny .pure )
4256MAVProxy_exe = EXE (MAVProxy_pyz ,
4357 MAVProxyAny .scripts ,
@@ -71,3 +85,20 @@ MAVExp_coll = COLLECT(MAVExp_exe,
7185 strip = None ,
7286 upx = True ,
7387 name = 'MAVExplorer' )
88+
89+ MAVPicViewer_pyz = PYZ (MAVPicViewerAny .pure )
90+ MAVPicViewer_exe = EXE (MAVPicViewer_pyz ,
91+ MAVPicViewerAny .scripts ,
92+ exclude_binaries = True ,
93+ name = 'mavpicviewer.exe' ,
94+ debug = False ,
95+ strip = None ,
96+ upx = True ,
97+ console = True )
98+ MAVPicViewer_coll = COLLECT (MAVPicViewer_exe ,
99+ MAVPicViewerAny .binaries ,
100+ MAVPicViewerAny .zipfiles ,
101+ MAVPicViewerAny .datas ,
102+ strip = None ,
103+ upx = True ,
104+ name = 'mavpicviewer' )
0 commit comments