Home | History | Annotate | Download | only in installer

Lines Matching refs:dst_file

115   dst_file = os.path.join(dst_root, src_file)
117 dst_dir = os.path.dirname(dst_file)
120 return dst_file
123 def copyFileWithDefs(src_file, dst_file, defs):
124 """Copies from src_file to dst_file, performing variable substitution.
131 dst_file: Relative path (and filename) where src_file should be copied.
140 open(dst_file, 'w').write(data)
141 shutil.copystat(src_file, dst_file)
190 dst_file = remapSrcFile(temp_dir, source_file_roots, f)
196 copyFileWithDefs(f, dst_file, defs)
198 shutil.copy2(f, dst_file)
201 dst_file = os.path.join(temp_dir, bd)
202 if not os.path.exists(os.path.dirname(dst_file)):
203 os.makedirs(os.path.dirname(dst_file))
205 shutil.copytree(bs, dst_file)
207 shutil.copy2(bs, dst_file)