Lines Matching refs:dst
133 def copyfile(self, src, dst, symlinks = False, copyFunc = shutil.copy2): argument
137 if not os.path.exists(dst):
138 os.makedirs(dst)
139 elif not os.path.isdir(dst):
142 dstname = os.path.join(dst, os.path.basename(src))
182 def copyConfig(self, src, dst): argument
185 if not os.path.isdir(dst):
188 self.copies.extend(self.copyfile('gmakefile.test',dst))
189 newConfigDir=os.path.join(dst,'config') # Am not renaming at present
197 def copyExamples(self, src, dst): argument
202 self.copies.extend(self.copytree(root, root.replace(src,dst)))
205 …def copytree(self, src, dst, symlinks = False, copyFunc = shutil.copy2, exclude = [], exclude_ext=… argument
220 if not os.path.exists(dst):
221 os.makedirs(dst)
222 elif not os.path.isdir(dst):
229 dstname = os.path.join(dst, name)
261 shutil.copystat(src, dst)
267 errors.append((src, dst, str(e)))
469 files = [dst.replace(self.destDir,self.installDir) for src, dst in self.copies]
529 def copyLib(self, src, dst): argument
535 os.remove(dst) # In case it already exists
538 os.symlink(linkto, dst)
540 shutil.copy2(src, dst)
541 …if self.setCompilers.getCompiler().find('win32fe') < 0 and os.path.splitext(dst)[1] == '.'+self.ar…
543 self.executeShellCommand(shlex.split(self.ranlib) + [dst])
544 …if os.path.splitext(dst)[1] == '.dylib' and shutil.which('otool') and shutil.which('install_name_t…
548 self.executeShellCommand(['install_name_tool', '-id', installName, dst])
550 shutil.copystat(src,dst)