Beremiz.py
changeset 1805 52daabbb6f90
parent 1796 4f7a0c40a7c3
child 1826 91796f408540
equal deleted inserted replaced
1804:5a79875b0ed7 1805:52daabbb6f90
    25 
    25 
    26 import os
    26 import os
    27 import sys
    27 import sys
    28 import getopt
    28 import getopt
    29 import time
    29 import time
    30 import __builtin__
       
    31 import util.paths as paths
    30 import util.paths as paths
    32 
    31 
    33 
    32 
    34 class BeremizIDELauncher:
    33 class BeremizIDELauncher:
    35     def __init__(self):
    34     def __init__(self):
   107         elif len(args) == 2:
   106         elif len(args) == 2:
   108             self.projectOpen = args[0]
   107             self.projectOpen = args[0]
   109             self.buildpath = args[1]
   108             self.buildpath = args[1]
   110 
   109 
   111     def CreateApplication(self):
   110     def CreateApplication(self):
   112         if os.path.exists("BEREMIZ_DEBUG"):
   111         BMZ_DBG = os.path.exists("BEREMIZ_DEBUG")
   113             __builtin__.__dict__["BMZ_DBG"] = True
       
   114         else:
       
   115             __builtin__.__dict__["BMZ_DBG"] = False
       
   116 
   112 
   117         global wx
   113         global wx
   118         import wx
   114         import wx
   119 
   115 
   120         if wx.VERSION >= (3, 0, 0):
   116         if wx.VERSION >= (3, 0, 0):