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

All Samples(5)  |  Call(2)  |  Derive(0)  |  Import(3)

src/p/y/py2app-0.8/py2app/build_app.py   py2app(Download)
 
from py2app.apptemplate.setup import main as script_executable
from py2app.util import mergecopy, make_exec
 
try:
                src_fn = script_executable(arch=self.arch, secondary=True)
                tgt_fn = os.path.join(target.appdir, 'Contents', 'MacOS', os.path.basename(fn))
                mergecopy(src_fn, tgt_fn)
                make_exec(tgt_fn)
 
            src_fn = script_executable(arch=self.arch, secondary=True)
            tgt_fn = os.path.join(self.appdir, 'Contents', 'MacOS', os.path.basename(fn))
            mergecopy(src_fn, tgt_fn)
            make_exec(tgt_fn)
 

src/p/y/py2app-0.8/py2app/create_pluginbundle.py   py2app(Download)
 
import py2app.bundletemplate
from py2app.util import makedirs, mergecopy, mergetree, skipscm, make_exec
 
def create_pluginbundle(destdir, name, extension='.plugin', module=py2app.bundletemplate,

src/p/y/py2app-0.8/py2app/create_appbundle.py   py2app(Download)
from pkg_resources import resource_filename
import py2app.apptemplate
from py2app.util import makedirs, mergecopy, mergetree, skipscm, make_exec
 
def create_appbundle(destdir, name, extension='.app', module=py2app.apptemplate,