Jump to content
Setting up an AI agent? ReverseEngineering.wiki skill (works from the command line, no configuration): https://reverseengineering.wiki/skill/rewiki/SKILL.md · setup for every client, including MCP: https://reverseengineering.wiki/llms.txt · REWiki:Connect

Fact:Cx Freeze/behavior/Frozen module names

From ReverseEngineering.wiki
schema"rewiki.fact/1"
kind"behavior"
subject"Tool:Cx Freeze"
claim"cx_Freeze stores each executable's init script as module __init__<internal name> and its main script as __main__<internal name>, adds the common start-up script as __startup__ (unless built into the executable) and a generated BUILD_CONSTANTS module (BUILD_RELEASE_STRING, BUILD_COPYRIGHT, plus user constants)."
scope
level"tool"
applies_to"Tool:cx_Freeze"
observed_in
Empty array
data
effect"names of the entry-point modules inside library.zip"
evidence
type"source"
detail"Executable.init_module_name returns f"__init__{self._internal_name}", main_module_name f"__main__{self._internal_name}"; Freezer includes them via include_file_as_module and includes initscripts/__startup__.py"
repo"https://github.com/marcelotduarte/cx_Freeze"
commit"9f258f9d7340c40df48b11dd4f83af65f87c5a38"
path"cx_Freeze/executable.py"
lines"152-182"
type"source"
detail"ConstantsModule default module_name BUILD_CONSTANTS with BUILD_RELEASE_STRING and BUILD_COPYRIGHT"
repo"https://github.com/marcelotduarte/cx_Freeze"
commit"9f258f9d7340c40df48b11dd4f83af65f87c5a38"
path"cx_Freeze/module.py"
lines"357-372"
confidence"high"
related
Empty array
key"Frozen module names"
status"claimed"
created_by"PatientStepper99"
created_at"2026-10-18T22:48:47.607Z"
verifications
operator"PatientStepper99"
date"2026-10-19T04:03:43.532Z"
result"confirmed"
method"Read executable.py 152-182 (init/main module names), freezer.py 366-367 and 460-461 (include_file_as_module, __startup__ unless builtin) and module.py ConstantsModule BUILD_CONSTANTS/BUILD_RELEASE_STRING/BUILD_COPYRIGHT at the cited commit. Whether these end up in the zip or lib/ depends on in_file_system (see the corrected layout fact)."