Lines Matching full:destname
69 def process(template, filename, destname, copy_codefragment=0,
102 if MacOS.runtimemodel != 'macho' and not destname:
103 destname = basename
107 if not destname:
109 destname = basename + '.app'
111 destname = basename + '.applet'
118 os.remove(destname)
121 process_common(template, progress, code, rsrcname, destname, 0,
147 def process_common(template, progress, code, rsrcname, destname, is_update,
150 return process_common_macho(template, progress, code, rsrcname, destname,
165 dest = open(destname, "wb")
180 output = Res.FSOpenResourceFile(destname, RESOURCE_FORK_NAME, WRITE)
182 destdir, destfile = os.path.split(destname)
184 output = Res.FSOpenResourceFile(destname, RESOURCE_FORK_NAME, WRITE)
269 dest_fss = Carbon.File.FSSpec(destname)
277 macostools.touched(destname)
282 def process_common_macho(template, progress, code, rsrcname, destname, is_update,
288 if destname[-4:] != '.app':
289 destname = destname + '.app'
291 destdir, shortname = os.path.split(destname)