This file implements the main() function used by the scons script.
|
|
|
|
|
|
|
|
|
|
|
python_version_unsupported(version=sys.version_info(major=2, minor=7, micro=15, releaselevel='can... ) |
source code
|
|
|
python_version_deprecated(version=sys.version_info(major=2, minor=7, micro=15, releaselevel='can... ) |
source code
|
|
|
|
|
|
|
|
|
|
|
_scons_syntax_error(e)
Handle syntax errors. Print out a message and show where the error
occurred. |
source code
|
|
|
|
|
_scons_user_error(e)
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. |
source code
|
|
|
_scons_user_warning(e)
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. |
source code
|
|
|
_scons_internal_warning(e)
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. |
source code
|
|
|
_scons_internal_error()
Handle all errors but user errors. Print out a message telling
the user what to do in this case and print a normal trace. |
source code
|
|
|
_SConstruct_exists(dirname='
' ,
repositories=[ ] ,
filelist=None)
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. |
source code
|
|
|
|
|
|
|
_load_site_scons_dir(topdir,
site_dir_name=None)
Load the site_scons dir under topdir.
Prepends site_scons to sys.path, imports site_scons/site_init.py,
and prepends site_scons/site_tools to default toolpath. |
source code
|
|
|
_load_all_site_scons_dirs(topdir,
verbose=None)
Load all of the predefined site_scons dir.
Order is significant; we load them in order from most generic
(machine-wide) to most specific (topdir).
The verbose argument is only for testing. |
source code
|
|
|
|
|
|
|
|
|
|
|
_build_targets(fs,
options,
targets,
target_top) |
source code
|
|
|
|
|
|
|
unsupported_python_version = ( 2, 6, 0)
|
|
deprecated_python_version = ( 2, 7, 0)
|
|
__revision__ = ' src/engine/SCons/Script/Main.py 3a41ed6b288cee ...
|
|
display = <SCons.Util.DisplayEngine object>
|
|
progress_display = <SCons.Util.DisplayEngine object>
|
|
first_command_start = None
hash(x)
|
|
last_command_end = None
hash(x)
|
|
ProgressObject = Null(0x7FB7D18364D0)
|
|
_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 = None
hash(x)
|
|
delayed_warnings = [ ]
|
|
OptionsParser = <SCons.Script.Main.FakeOptionParser object>
|
|
count_stats = <SCons.Script.Main.CountStats object>
|
|
memory_stats = <SCons.Script.Main.MemStats object>
|
|
__package__ = ' SCons.Script '
|