Abaissement du niveau d'optimisation de la compilation des modules python pour conser...
[minwii.git] / setup_win_exe.py
index 1aa2fb0..e122fef 100755 (executable)
@@ -155,18 +155,18 @@ class BuildExe:
 
             # targets to build
             windows = [{
-                'script': self.script,
+                'script': "src/minwii/runminwii.py",
                 'icon_resources': [(0, self.icon_file)],
                 'copyright': self.copyright
                 },
                 {
                 'script' : "src/minwii/logapp.py",
-                'icon_resources': [(0, self.icon_file)]
+                'icon_resources': [(0, 'logapp.ico')],
                 'copyright' : self.copyright
                 }
-                ]
-            #console = [self.script],
-            options = {'py2exe': {'optimize': 2,
+                ],
+            #console = ["src/minwii/logapp.py"],
+            options = {'py2exe': {'optimize': 1,
                                   'bundle_files': 3,
                                   #'compressed': True,
                                   #'excludes': self.exclude_modules,