direct.dist.FreezeTool

from direct.dist.FreezeTool import AcronModuleFinder, CompilationEnvironment, Freezer, pytest_imports

This module contains code to freeze a number of Python modules into a single (mostly) standalone DLL or EXE.

Inheritance diagram

digraph inheritance0c36a6e9b8 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "AcronModuleFinder" [URL="direct.dist.FreezeTool.html#direct.dist.FreezeTool.AcronModuleFinder",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top"]; "ModuleFinder" -> "AcronModuleFinder" [arrowsize=0.75,style=""]; "CompilationEnvironment" [URL="direct.dist.FreezeTool.html#direct.dist.FreezeTool.CompilationEnvironment",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="Create an instance of this class to record the commands to"]; "Freezer" [URL="direct.dist.FreezeTool.html#direct.dist.FreezeTool.Freezer",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top"]; "ModuleFinder" [URL="https://docs.python.org/3/library/modulefinder.html#modulefinder.ModuleFinder",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top"]; }
class AcronModuleFinder(*args, **kw)[source]

Bases: ModuleFinder

class CompilationEnvironment(platform)[source]

Bases: object

Create an instance of this class to record the commands to invoke the compiler on a given platform. If needed, the caller can create a custom instance of this class (or simply set the compile strings directly) to customize the build environment.

class Freezer(previous=None, debugLevel=0, platform=None, path=None, hiddenImports=None, optimize=None)[source]

Bases: object

class ModuleDef(moduleName, filename=None, implicit=False, guess=False, exclude=False, forbid=False, allowChildren=False, fromSource=None, text=None)[source]

Bases: object