def main():
options = ParseCommandLine()
executables = [cx_Freeze.Executable(options.script,
initScript = options.initScript,
base = options.baseName,
icon = options.icon,
targetName = options.targetName)
]
freezer = cx_Freeze.Freezer(executables,
includes = options.includeModules,
excludes = options.excludeModules,
replacePaths = options.replacePaths,
compress = options.compress,
optimizeFlag = options.optimized,
path = None,
targetDir = options.targetDir,
zipIncludes = options.zipIncludes,
silent = options.silent)
freezer.Freeze()