Python cx_Freeze.Executable() Examples

The following are 1 code examples of cx_Freeze.Executable(). You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may also want to check out all available functions/classes of the module cx_Freeze , or try the search function .
Example #1
Source File: main.py    From tensorlang with Apache License 2.0 6 votes vote down vote up
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()