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

All Samples(7)  |  Call(4)  |  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:
                tgt_fn = os.path.join(target.appdir, 'Contents', 'MacOS', os.path.basename(fn))
                mergecopy(src_fn, tgt_fn)
                make_exec(tgt_fn)
 
    def collect_recipedict(self):
            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,
        )
    copy(srcmain, destmain)
    make_exec(destmain)
    mergetree(
        resource_filename(module.__name__, 'lib'),

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,
        )
    copy(srcmain, destmain)
    make_exec(destmain)
    mergetree(
        resource_filename(module.__name__, 'lib'),