Panda3D
|
Classes | |
class | CompilationEnvironment |
class | Freezer |
class | PandaModuleFinder |
Variables | |
string | dllInitCode |
extend_frozen = None | |
string | frozenDllMainCode |
string | frozenExtensions |
string | frozenMainCode |
tuple | isDebugBuild = (python.lower().endswith('_d')) |
string | mainInitCode |
list | okMissing |
string | programFile |
tuple | python = os.path.splitext(os.path.split(sys.executable)[1]) |
dictionary | reportedMissing = {} |
list | sourceTrees = ['direct'] |
list | startupModules |
This module contains code to freeze a number of Python modules into a single (mostly) standalone DLL or EXE.
string dllInitCode |
extend_frozen = None |
string frozenDllMainCode |
string frozenExtensions |
00001 """ 00002 00003 static struct _inittab extensions[] = { 00004 /* Sentinel */ 00005 {0, 0} 00006 }; 00007 extern DL_IMPORT(int) PyImport_ExtendInittab(struct _inittab *newtab); 00008 00009 int PyInitFrozenExtensions() 00010 { 00011 return PyImport_ExtendInittab(extensions); 00012 } 00013 """
string frozenMainCode |
tuple isDebugBuild = (python.lower().endswith('_d')) |
string mainInitCode |
00001 """ 00002 %(frozenMainCode)s 00003 00004 int 00005 main(int argc, char *argv[]) { 00006 PyImport_FrozenModules = _PyImport_FrozenModules; 00007 return Py_FrozenMain(argc, argv); 00008 } 00009 """
list okMissing |
00001 [ 00002 'Carbon.Folder', 'Carbon.Folders', 'HouseGlobals', 'Carbon.File', 00003 'MacOS', '_emx_link', 'ce', 'mac', 'org.python.core', 'os.path', 00004 'os2', 'posix', 'pwd', 'readline', 'riscos', 'riscosenviron', 00005 'riscospath', 'dbm', 'fcntl', 'win32api', 00006 '_winreg', 'ctypes', 'ctypes.wintypes', 'nt','msvcrt', 00007 'EasyDialogs', 'SOCKS', 'ic', 'rourl2path', 'termios', 00008 'OverrideFrom23._Res', 'email', 'email.Utils', 'email.Generator', 00009 'email.Iterators', '_subprocess', 'gestalt', 00010 'direct.extensions_native.extensions_darwin', 00011 ]
string programFile |
00001 """ 00002 #include "Python.h" 00003 00004 %(moduleDefs)s 00005 00006 static struct _frozen _PyImport_FrozenModules[] = { 00007 %(moduleList)s 00008 {NULL, NULL, 0} 00009 }; 00010 00011 %(initCode)s 00012 """
tuple python = os.path.splitext(os.path.split(sys.executable)[1]) |
dictionary reportedMissing = {} |
list sourceTrees = ['direct'] |
list startupModules |
00001 [ 00002 'site', 'sitecustomize', 'os', 'encodings.cp1252', 00003 'org', 00004 ]