2004-01-18 22:06:32

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

Builds a hand-written shell script. On POSIX systems, this is nothing more than a file copy. For Windows, the executable stub has the contents of the script file appended to the end of the stub.

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>)]
'stubmain'
[('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')]
'# script generated in Ft.Lib.DistExt.BuildScripts\n%(import_stmt)s\n%(classname)s().run()\n'
"#!%(env_executable)s%(env_args)s%(py_executable)..._module('Ft', *module_info)\n\n### SCRIPT BODY ###\n"
'build/lib.freebsd-7.0-CURRENT-sparc64-2.4/Ft/Lib/DistExt/stubmain.c'