Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)
Copy a file respecting verbose, dry-run and force flags.  (The
former two default to whatever is in the Distribution object, and
the latter defaults to false for commands that don't define it.)

src/m/p/mpi4py-1.3.1/conf/mpidistutils.py   mpi4py(Download)
                target = os.path.join(self.install_dir, install_name)
                self.mkpath(self.install_dir)
                out, done = self.copy_file(source, target, link=link)
                self.outfiles.append(out)
 

src/4/s/4Suite-XML-1.0.2/Ft/Lib/DistExt/InstallLib.py   4Suite-XML(Download)
            outfile = os.path.join(self.install_dir, source[prefix_len:])
            self.mkpath(os.path.dirname(outfile))
            self.copy_file(source, outfile)
            outputs.append(outfile)
        return outputs

src/s/h/sherpa-HEAD/install_lib.py   sherpa(Download)
        dest = self.clib_install_dir
        self.mkpath( dest )
        self.copy_file( join( build_clib.build_clib, lib_filename ), dest )
        return
 

src/s/u/subvertpy-0.9.1/setup.py   subvertpy(Download)
        # On Windows we package up the apr dlls with the plugin.
        for s, d in self._get_dlls():
            self.copy_file(s, d)
 
    def get_outputs(self):

src/t/e/tesseract_sip-0.1.1/setup.py   tesseract_sip(Download)
        def install(self):
            # copy the tesseract/leptonica DLL also
            self.copy_file(os.path.join(library_dirs[0], 'libtesseract302.dll'), self.build_dir)
            self.copy_file(os.path.join(library_dirs[0], 'liblept168.dll'), self.build_dir)
            return install_lib.install(self)