Home | Trees | Indices | Help |
|
---|
|
SCons.Script This file implements the main() function used by the scons script. Architecturally, this *is* the scons script, and will likely only be called from the external "scons" wrapper. Consequently, anything here should not be, or be considered, part of the build engine. If it's something that we expect other software to want to use, it should go in some other module. If it's specific to the "scons" script invocation, it goes here.
|
|||
SConsPrintHelpException | |||
Progressor | |||
BuildTask An SCons build task. |
|||
CleanTask An SCons clean task. |
|||
QuestionTask An SCons task for the -q (question) option. |
|||
TreePrinter | |||
FakeOptionParser A do-nothing option parser, used for the initial OptionsParser variable. |
|||
Stats | |||
CountStats | |||
MemStats |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
unsupported_python_version =
|
|||
deprecated_python_version =
|
|||
__revision__ =
|
|||
display = SCons.Util.display
|
|||
progress_display = SCons.Util.DisplayEngine()
|
|||
first_command_start = False
|
|||
last_command_end = False
|
|||
ProgressObject = Null(0x08BD4BEC)
|
|||
_BuildFailures =
|
|||
print_objects = 0
|
|||
print_memoizer = 0
|
|||
print_stacktrace = 0
|
|||
print_time = 0
|
|||
sconscript_time = 0
|
|||
cumulative_command_time = 0
|
|||
exit_status = 0
|
|||
this_build_status = 0
|
|||
num_jobs = False
|
|||
delayed_warnings =
|
|||
OptionsParser = <SCons.Script.Main.FakeOptionParser object at
|
|||
count_stats = CountStats()
|
|||
memory_stats = MemStats()
|
|
Handle syntax errors. Print out a message and show where the error occurred. |
Find the deepest stack frame that is not part of SCons. Input is a "pre-processed" stack trace in the form returned by traceback.extract_tb() or traceback.extract_stack() |
Handle user errors. Print out a message and a description of the error, along with the line number and routine where it occured. The file and line number will be the deepest stack frame that is not part of SCons itself. |
Handle user warnings. Print out a message and a description of the warning, along with the line number and routine where it occured. The file and line number will be the deepest stack frame that is not part of SCons itself. |
Slightly different from _scons_user_warning in that we use the *current call stack* rather than sys.exc_info() to get our stack trace. This is used by the warnings framework to print warnings. |
Handle all errors but user errors. Print out a message telling the user what to do in this case and print a normal trace. |
This function checks that an SConstruct file exists in a directory. If so, it returns the path of the file. By default, it checks the current directory. |
Load the site_scons dir under topdir. Adds site_scons to sys.path, imports site_scons/site_init.py, and adds site_scons/site_tools to default toolpath. |
|
__revision__
|
OptionsParser
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0beta1 on Mon Jun 14 22:07:43 2010 | http://epydoc.sourceforge.net |