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

All Samples(33)  |  Call(33)  |  Derive(0)  |  Import(0)
Spawn an external command respecting dry-run flag.

src/4/s/4Suite-XML-1.0.2/Ft/Lib/DistExt/BDistInno.py   4Suite-XML(Download)
        # build distribution using the Inno Setup 5 Command-Line Compiler
        self.announce("creating Inno Setup installer", 2) # log.info
        self.spawn([iss_compiler, iss_path])
 
        # Add an empty ZIP file to the installer executable to allow for

src/p/i/picard-HEAD/setup.py   picard(Download)
            mo = os.path.join(path, '%s.mo' % domain)
            self.mkpath(path)
            self.spawn(['msgfmt', '-o', mo, po])
 
Distribution.locales = None
            '--minimum-perc=%d' % self.minimum_perc
        ]
        self.spawn(txpull_cmd)
 
 
                '--language=none',
            ]
            self.spawn(txpull_cmd)
 
        countries = dict()

src/b/u/buildbot-www-0.8.9-pre-351-ge145f02/setup.py   buildbot-www(Download)

src/m/u/mutagen-HEAD/setup.py   mutagen(Download)
        if os.path.isdir(target):
            raise SystemExit("%r was already released." % sversion)
        self.spawn(["cp", "-r", os.getcwd(), target])
 
        self.rewrite_version(target, version[:-1])
                print "You're not Joe, so this might not work."
            self.spawn(
                ["svn", "commit", "-m", "Mutagen %s." % sversion, target])
            os.chdir(target)
            if os.environ.get("USER") != "piman":
                print "You're not Joe, so this definitely won't work."
            print "Copying tarball to kai."
            self.spawn(["./setup.py", "sdist"])
            self.spawn(["scp", "dist/mutagen-%s.tar.gz" % sversion,
            self.spawn(["scp", "dist/mutagen-%s.tar.gz" % sversion,
                        "sacredchao.net:~piman/public_html/software"])
            self.spawn(["./setup.py", "register"])
 
class clean(distutils_clean):

src/b/u/buildprof-0.1.8/setup.py   buildprof(Download)

src/p/y/pystorm-HEAD/gdist/po.py   pystorm(Download)
    def run(self):
        oldpath = os.getcwd()
        os.chdir(self.po_directory)
        self.spawn(["intltool-update", "--maintain",
                    "--gettext-package", self.po_package])
            if newer(po, destpath):
                self.mkpath(fullpath)
                self.spawn(["msgfmt", "-o", destpath, po])
 
class install_mo(Command):

src/g/i/git-cola-HEAD/extras/build_mo.py   git-cola(Download)
                else:
                    en_po = 'en.po'
                self.spawn(['msginit',
                    '--no-translator',
                    '-l', 'en',
            if self.force or newer(po, mo):
                log.info('Compile: %s -> %s' % (po, mo))
                self.spawn(['msgfmt', '-o', mo, po])
 
 

src/s/t/streamcorpus-0.3.30/setup.py   streamcorpus(Download)
    def _run_thrift(self, thrift_src, outdir, renamefunc):
        self.spawn(['thrift', '--gen', 'py:new_style,slots', thrift_src])
        for fname in ('constants.py', 'ttypes.py'):
            self.copy_file('gen-py/streamcorpus/' + fname, os.path.join(outdir, renamefunc(fname)))
        remove_tree('gen-py')

src/k/v/kvlayer-0.4.7.dev3/setup.py   kvlayer(Download)
    def _run_thrift(self, thrift_src, outdir, renamefunc):
        self.spawn(['thrift', '--gen', 'py:new_style,slots', thrift_src])
        for fname in ('constants.py', 'ttypes.py'):
            self.copy_file('gen-py/kvlayer/instance_collection/blob_collection/' + fname, os.path.join(outdir, renamefunc(fname)))
        remove_tree('gen-py')

src/s/t/streamcorpus-dev-0.3.23.dev30/setup.py   streamcorpus-dev(Download)
    def _run_thrift(self, thrift_src, outdir, renamefunc):
        self.spawn(['thrift', '--gen', 'py:new_style,slots', thrift_src])
        for fname in ('constants.py', 'ttypes.py'):
            self.copy_file('gen-py/streamcorpus/' + fname, os.path.join(outdir, renamefunc(fname)))
        remove_tree('gen-py')

  1 | 2  Next