2828import Res
2929import Dlg
3030
31- import BuildApplet
31+ import buildtools
3232import cfmfile
3333
3434# Dialog resource. Note that the item numbers should correspond
@@ -87,7 +87,7 @@ def buildmwproject(top, creator, projects):
8787
8888def buildapplet (top , dummy , list ):
8989 """Create python applets"""
90- template = BuildApplet .findtemplate ()
90+ template = buildtools .findtemplate ()
9191 for src in list :
9292 if src [- 3 :] != '.py' :
9393 raise 'Should end in .py' , src
@@ -99,7 +99,7 @@ def buildapplet(top, dummy, list):
9999 except os .error :
100100 pass
101101 print 'Building applet' , dst
102- BuildApplet .process (template , src , dst )
102+ buildtools .process (template , src , dst , 1 )
103103
104104def buildfat (top , dummy , list ):
105105 """Build fat binaries"""
@@ -184,6 +184,7 @@ def handle_dialog(filename):
184184I_APPLETS : (buildapplet , None , [
185185 ":Mac:scripts:EditPythonPrefs.py" ,
186186 ":Mac:scripts:BuildApplet.py" ,
187+ ":Mac:scripts:BuildApplication.py" ,
187188 ":Mac:scripts:ConfigurePython.py"
188189 ]),
189190}
0 commit comments