@@ -96,12 +96,13 @@ def buildmwproject(top, creator, projects):
9696def buildapplet (top , dummy , list ):
9797 """Create python applets"""
9898 template = buildtools .findtemplate ()
99- for src in list :
99+ for src , dst in list :
100100 if src [- 3 :] != '.py' :
101101 raise 'Should end in .py' , src
102102 base = os .path .basename (src )
103- dst = os .path .join (top , base )[:- 3 ]
103+ # dst = os.path.join(top, base)[:-3]
104104 src = os .path .join (top , src )
105+ dst = os .path .join (top , dst )
105106 try :
106107 os .unlink (dst )
107108 except os .error :
@@ -190,10 +191,11 @@ def handle_dialog(filename):
190191 ]),
191192
192193I_APPLETS : (buildapplet , None , [
193- ":Mac:scripts:EditPythonPrefs.py" ,
194- ":Mac:scripts:BuildApplet.py" ,
195- ":Mac:scripts:BuildApplication.py" ,
196- ":Mac:scripts:ConfigurePython.py"
194+ (":Mac:scripts:EditPythonPrefs.py" , "EditPythonPrefs" ),
195+ (":Mac:scripts:BuildApplet.py" , "BuildApplet" ),
196+ (":Mac:scripts:BuildApplication.py" , "BuildApplication" ),
197+ (":Mac:scripts:ConfigurePython.py" , "ConfigurePython" ),
198+ (":Mac:Tools:IDE:PythonIDE.py" , "Python IDE" ),
197199 ]),
198200}
199201
0 commit comments