|
|
|
Classes |
| class | ArchiveTarget |
| class | CollectTarget |
| class | ExeTarget |
| | iconfile = None for name in self.cfg.sections(): if self.cfg.get (name, "type") == "STANDALONE": try: iconfile = self.cfg.get (name, "iconfile") except: pass if iconfile: from icon import CopyIcons CopyIcons (myexe, iconfile) More...
|
| class | FullExeTarget |
| class | InstallTarget |
| class | PYZTarget |
| class | Target |
Functions |
| def | assemble |
| | if not isinstance(rsrc, resource.pythonresource): print "PYZ target %s ignoring include %s" % (self.name, thingie) else:
|
| def | main |
| def | makeTarget |
| def | run |
Variables |
| list | autopath = [] |
| dictionary | built = {} |
| | copyFile = None |
| dictionary | dispatch |
| string | extractfile = "open(os.path.join(idir, '%s'), 'wb').write(this.extract('%s')[1])\n" |
| string | importzlib = "imputil.FuncImporter(archive_rt.ZlibArchive(sys.path[0]+'/%s').get_code).install()\n" |
| string | installpreamble |
| | logfile = None |
| string | mvfile = "installutils.copyFile(os.path.join(here, '%s'), os.path.join(idir, '%s'))\n" |
| tuple | myexe = tempfile.mktemp() |
| | copyFile([exe, pkgname], self.name) os.remove(pkgname) Thomas Heller's icon code my version
|
| dictionary | optcnvrts |
| dictionary | optdefaults |
| string | sitepreamble |
Function Documentation
| def pyinst.Builder.assemble |
( |
|
self | ) |
|
if not isinstance(rsrc, resource.pythonresource): print "PYZ target %s ignoring include %s" % (self.name, thingie) else:
| def pyinst.Builder.main |
( |
|
opts, |
|
|
|
args |
|
) |
| |
| def pyinst.Builder.makeTarget |
( |
|
cfg, |
|
|
|
section |
|
) |
| |
| def pyinst.Builder.run |
( |
|
file | ) |
|
Variable Documentation
Initial value:00001 {
00002 'PYZ': PYZTarget,
00003 'CARCHIVE': ArchiveTarget,
00004 'COLLECT': CollectTarget,
00005 'STANDALONE': ExeTarget,
00006 'INSTALL': InstallTarget,
00007 'FULLEXE': FullExeTarget,
00008 }
| string extractfile = "open(os.path.join(idir, '%s'), 'wb').write(this.extract('%s')[1])\n" |
Initial value:00001 """\
00002 import sys, os
00003 import installutils
00004 import carchive_rt
00005 idir = installutils.getinstalldir()
00006 me = sys.argv[0]
00007 if me[:-4] != '.exe':
00008 me = me + '.exe'
00009 this = carchive_rt.CArchive(sys.argv[0])
00010 here = sys.path[0]
00011 """
| string mvfile = "installutils.copyFile(os.path.join(here, '%s'), os.path.join(idir, '%s'))\n" |
| tuple myexe = tempfile.mktemp() |
copyFile([exe, pkgname], self.name) os.remove(pkgname) Thomas Heller's icon code my version
Initial value:00001 { 'type':'',
00002 'name': 'getstring',
00003 'exstdlib': 'getbool',
00004 'console': 'getbool',
00005 'analyze': 'getbool',
00006 'debug': 'getbool',
00007 'includetk': 'getbool',
00008 'userunw': 'getbool',
00009 'destdir': 'getstring',
00010 'support': 'getbool',
00011 '__name__': 'getstring',
00012 'icon': 'getstring',
00013 }
Initial value:00001 { 'type':'PYZ',
00002 'script':'',
00003 'zlib':'',
00004 'bindepends':'',
00005 'misc':'',
00006 'includetk': '0',
00007 'userunw': '0',
00008 'dependencies':'',
00009 'directories':'',
00010 'excludes':'',
00011 'expatterns': '',
00012 'exstdlib': '0',
00013 'extypes': '',
00014 'includes':'',
00015 'packages':'',
00016 'destdir':'',
00017 'pathprefix': '',
00018 'trees': '',
00019 'debug': '0',
00020 'support': '1',
00021 'icon': '',
00022 }
Initial value:00001 """\
00002 import archive_rt
00003 import imputil
00004 import sys
00005 """
| | |