2006-11-15 12:40:23

Builds a compiled executable. For all systems, the executable is created in the same fashion as the Python interpreter executable.

Builds a CommandLineApp script. On POSIX systems, this is a generated shell script. For Windows, it is a compiled executable with the generated file appended to the end of the stub.

Convert the name of a script into the name of the file which it will be run from.

Create the proper script for the current platform.

- ['force', 'debug']
- 'build_scripts'
- '"build" scripts'
- [('help-compiler', None, 'list available compilers', <function show_compilers at 0xb793e294>)]
- [('build-dir=', 'd', 'directory to "build" (copy) to'), ('build-temp=', 't', 'directory for temporary files (build by-products)'), ('force', 'f', 'forcibly build everything (ignore file timestamps'), ('debug', 'g', 'compile/link with debugging information'), ('compiler=', 'c', 'specify the compiler type')]

Representation of the SCRIPT_INFO resource in the stub executable.

- [(<class 'Ft.Lib.DistExt.ImageHlp.Dword'>, 'Signature'), (<class 'Ft.Lib.DistExt.ImageHlp.Word'>, 'MajorPythonVersion'), (<class 'Ft.Lib.DistExt.ImageHlp.Word'>, 'MinorPythonVersion'), (<class 'Ft.Lib.DistExt.ImageHlp.Word'>, 'Subsystem'), (<class 'Ft.Lib.DistExt.ImageHlp.Word'>, 'Characteristics'), (<class 'Ft.Lib.DistExt.ImageHlp.Word'>, 'ScriptAddress'), (<class 'Ft.Lib.DistExt.ImageHlp.Word'>, 'ScriptSize')]
- '<LHHHHHH'
- 16
'#!%(executable)s\n# %(name)s script generated by ...module)s.%(function)s()\nraise SystemExit(status)\n'