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

All Samples(16)  |  Call(16)  |  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/o/p/openerp-client-5.0.0-3/mydistutils.py   openerp-client(Download)
                    dest = mo
                self.mkpath(os.path.dirname(dest))
                (out, _) = self.copy_file(src, dest)
                self.outfiles.append(out)
 

src/p/y/pyobjc-HEAD/pyobjc/PyOpenGL-2.0.2.01/setup/my_install_data.py   pyobjc(Download)
                    # preserve path in filename
                    self.mkpath(os.path.dirname(os.path.join(dir,dst)))
                    out = self.copy_file(src, os.path.join(dir,dst))
                else:
                    out = self.copy_file(src, dir)

src/p/y/PyCAPTCHA-HEAD/setup/my_install_data.py   PyCAPTCHA(Download)
                    # preserve path in filename
                    self.mkpath(os.path.dirname(os.path.join(dir,dst)))
                    out = self.copy_file(src, os.path.join(dir,dst))
                else:
                    out = self.copy_file(src, dir)

src/e/0/E.S.P.-Hadouken-0.2.1/setup.py   E.S.P.-Hadouken(Download)
    def copy_file(self, infile, outfile):
        if self.is_high_scores_file(infile) and exists(join(outfile, infile)):
            print "leaving existing hi-scores file"
            return "", ""
        return install_data.copy_file(self, infile, outfile)

src/a/r/ardj-1.2.1/setup.py   ardj(Download)
 
        else:
            res = install_data.copy_file(self, src, dst)
 
        return res

src/m/i/miro-HEAD/tv/linux/setup.py   miro(Download)
                dest = change_root(self.root, dest)
            self.mkpath(os.path.dirname(dest))
            self.copy_file(source, dest)
            self.outfiles.append(dest)
 

src/c/h/Cheetah-2.4.4/SetupTools.py   Cheetah(Download)
                if not self.dry_run:
                    self.mkpath(dstdir)
                    outfile = self.copy_file(filename, dstPath)[0]
                else:
                    outfile = dstPath

src/c/h/cheetah-HEAD/SetupTools.py   cheetah(Download)
                if not self.dry_run:
                    self.mkpath(dstdir)
                    outfile = self.copy_file(filename, dstPath)[0]
                else:
                    outfile = dstPath

src/k/u/kuma-lib-HEAD/packages/ipython/setupext/install_data_ext.py   kuma-lib(Download)
                for f in files:
                    f = convert_path(f)
                    (out, _) = self.copy_file(f, dir)
                    #print "DEBUG: ", out  # dbg
                    self.outfiles.append(out)

src/i/p/ipython-2.0.0/setupext/install_data_ext.py   ipython(Download)
                for f in files:
                    f = convert_path(f)
                    (out, _) = self.copy_file(f, dir)
                    #print "DEBUG: ", out  # dbg
                    self.outfiles.append(out)

  1 | 2  Next