SCons package#
Module contents#
Subpackages#
- SCons.Node package
- Module contents
Annotate()
BuildInfoBase
BuildInfoBase.__getstate__()
BuildInfoBase.__setstate__()
BuildInfoBase.bact
BuildInfoBase.bactsig
BuildInfoBase.bdepends
BuildInfoBase.bdependsigs
BuildInfoBase.bimplicit
BuildInfoBase.bimplicitsigs
BuildInfoBase.bsources
BuildInfoBase.bsourcesigs
BuildInfoBase.current_version_id
BuildInfoBase.merge()
Node
Node.Attrs
Node.BuildInfo
Node.Decider()
Node.GetTag()
Node.NodeInfo
Node.Tag()
Node._add_child()
Node._children_get()
Node._children_reset()
Node._func_exists
Node._func_get_contents
Node._func_is_derived
Node._func_rexists
Node._func_target_from_source
Node._get_scanner()
Node._memo
Node._specific_sources
Node._tags
Node.add_dependency()
Node.add_ignore()
Node.add_prerequisite()
Node.add_source()
Node.add_to_implicit()
Node.add_to_waiting_parents()
Node.add_to_waiting_s_e()
Node.add_wkid()
Node.all_children()
Node.alter_targets()
Node.always_build
Node.attributes
Node.binfo
Node.build()
Node.builder
Node.builder_set()
Node.built()
Node.cached
Node.changed()
Node.changed_since_last_build
Node.check_attributes()
Node.children()
Node.children_are_up_to_date()
Node.clear()
Node.clear_memoized_values()
Node.del_binfo()
Node.depends
Node.depends_set
Node.disambiguate()
Node.env
Node.env_set()
Node.executor
Node.executor_cleanup()
Node.exists()
Node.explain()
Node.for_signature()
Node.get_abspath()
Node.get_binfo()
Node.get_build_env()
Node.get_build_scanner_path()
Node.get_builder()
Node.get_cachedir_csig()
Node.get_contents()
Node.get_csig()
Node.get_env()
Node.get_env_scanner()
Node.get_executor()
Node.get_found_includes()
Node.get_implicit_deps()
Node.get_ninfo()
Node.get_source_scanner()
Node.get_state()
Node.get_stored_implicit()
Node.get_stored_info()
Node.get_string()
Node.get_subst_proxy()
Node.get_suffix()
Node.get_target_scanner()
Node.has_builder()
Node.has_explicit_builder()
Node.ignore
Node.ignore_set
Node.implicit
Node.implicit_set
Node.includes
Node.is_conftest()
Node.is_derived()
Node.is_explicit
Node.is_literal()
Node.is_sconscript()
Node.is_up_to_date()
Node.linked
Node.make_ready()
Node.missing()
Node.multiple_side_effect_has_builder()
Node.new_binfo()
Node.new_ninfo()
Node.ninfo
Node.nocache
Node.noclean
Node.postprocess()
Node.precious
Node.prepare()
Node.prerequisites
Node.pseudo
Node.push_to_cache()
Node.ref_count
Node.release_target_info()
Node.remove()
Node.render_include_tree()
Node.reset_executor()
Node.retrieve_from_cache()
Node.rexists()
Node.scan()
Node.scanner_key()
Node.select_scanner()
Node.set_always_build()
Node.set_executor()
Node.set_explicit()
Node.set_nocache()
Node.set_noclean()
Node.set_precious()
Node.set_pseudo()
Node.set_specific_source()
Node.set_state()
Node.side_effect
Node.side_effects
Node.sources
Node.sources_set
Node.state
Node.store_info
Node.target_peers
Node.visited()
Node.waiting_parents
Node.waiting_s_e
Node.wkids
NodeInfoBase
NodeList
Walker
changed_since_last_build_alias()
changed_since_last_build_entry()
changed_since_last_build_node()
changed_since_last_build_python()
changed_since_last_build_state_changed()
classname()
decide_source()
decide_target()
do_nothing()
do_nothing_node()
exists_always()
exists_base()
exists_entry()
exists_file()
exists_none()
get_children()
get_contents_dir()
get_contents_entry()
get_contents_file()
get_contents_none()
ignore_cycle()
is_derived_node()
is_derived_none()
rexists_base()
rexists_node()
rexists_none()
store_info_file()
store_info_pass()
target_from_source_base()
target_from_source_none()
- Submodules
- SCons.Node.Alias module
Alias
Alias.Attrs
Alias.BuildInfo
Alias.Decider()
Alias.GetTag()
Alias.NodeInfo
Alias.Tag()
Alias._add_child()
Alias._children_get()
Alias._children_reset()
Alias._func_exists
Alias._func_get_contents
Alias._func_is_derived
Alias._func_rexists
Alias._func_target_from_source
Alias._get_scanner()
Alias._memo
Alias._specific_sources
Alias._tags
Alias.add_dependency()
Alias.add_ignore()
Alias.add_prerequisite()
Alias.add_source()
Alias.add_to_implicit()
Alias.add_to_waiting_parents()
Alias.add_to_waiting_s_e()
Alias.add_wkid()
Alias.all_children()
Alias.alter_targets()
Alias.always_build
Alias.attributes
Alias.binfo
Alias.build()
Alias.builder
Alias.builder_set()
Alias.built()
Alias.cached
Alias.changed()
Alias.changed_since_last_build
Alias.check_attributes()
Alias.children()
Alias.children_are_up_to_date()
Alias.clear()
Alias.clear_memoized_values()
Alias.convert()
Alias.del_binfo()
Alias.depends
Alias.depends_set
Alias.disambiguate()
Alias.env
Alias.env_set()
Alias.executor
Alias.executor_cleanup()
Alias.exists()
Alias.explain()
Alias.for_signature()
Alias.get_abspath()
Alias.get_binfo()
Alias.get_build_env()
Alias.get_build_scanner_path()
Alias.get_builder()
Alias.get_cachedir_csig()
Alias.get_contents()
Alias.get_csig()
Alias.get_env()
Alias.get_env_scanner()
Alias.get_executor()
Alias.get_found_includes()
Alias.get_implicit_deps()
Alias.get_ninfo()
Alias.get_source_scanner()
Alias.get_state()
Alias.get_stored_implicit()
Alias.get_stored_info()
Alias.get_string()
Alias.get_subst_proxy()
Alias.get_suffix()
Alias.get_target_scanner()
Alias.has_builder()
Alias.has_explicit_builder()
Alias.ignore
Alias.ignore_set
Alias.implicit
Alias.implicit_set
Alias.includes
Alias.is_conftest()
Alias.is_derived()
Alias.is_explicit
Alias.is_literal()
Alias.is_sconscript()
Alias.is_under()
Alias.is_up_to_date()
Alias.linked
Alias.make_ready()
Alias.missing()
Alias.multiple_side_effect_has_builder()
Alias.new_binfo()
Alias.new_ninfo()
Alias.ninfo
Alias.nocache
Alias.noclean
Alias.postprocess()
Alias.precious
Alias.prepare()
Alias.prerequisites
Alias.pseudo
Alias.push_to_cache()
Alias.really_build()
Alias.ref_count
Alias.release_target_info()
Alias.remove()
Alias.render_include_tree()
Alias.reset_executor()
Alias.retrieve_from_cache()
Alias.rexists()
Alias.scan()
Alias.scanner_key()
Alias.sconsign()
Alias.select_scanner()
Alias.set_always_build()
Alias.set_executor()
Alias.set_explicit()
Alias.set_nocache()
Alias.set_noclean()
Alias.set_precious()
Alias.set_pseudo()
Alias.set_specific_source()
Alias.set_state()
Alias.side_effect
Alias.side_effects
Alias.sources
Alias.sources_set
Alias.state
Alias.store_info
Alias.str_for_display()
Alias.target_peers
Alias.visited()
Alias.waiting_parents
Alias.waiting_s_e
Alias.wkids
AliasBuildInfo
AliasBuildInfo.__getstate__()
AliasBuildInfo.__setstate__()
AliasBuildInfo.bact
AliasBuildInfo.bactsig
AliasBuildInfo.bdepends
AliasBuildInfo.bdependsigs
AliasBuildInfo.bimplicit
AliasBuildInfo.bimplicitsigs
AliasBuildInfo.bsources
AliasBuildInfo.bsourcesigs
AliasBuildInfo.current_version_id
AliasBuildInfo.merge()
AliasNameSpace
AliasNameSpace.Alias()
AliasNameSpace._abc_impl
AliasNameSpace.clear()
AliasNameSpace.copy()
AliasNameSpace.fromkeys()
AliasNameSpace.get()
AliasNameSpace.items()
AliasNameSpace.keys()
AliasNameSpace.lookup()
AliasNameSpace.pop()
AliasNameSpace.popitem()
AliasNameSpace.setdefault()
AliasNameSpace.update()
AliasNameSpace.values()
AliasNodeInfo
- SCons.Node.FS module
Base
Base.Attrs
Base.BuildInfo
Base.Decider()
Base.GetTag()
Base.NodeInfo
Base.RDirs()
Base.Rfindalldirs()
Base.Tag()
Base._Rfindalldirs_key()
Base.__getattr__()
Base.__lt__()
Base.__str__()
Base._abspath
Base._add_child()
Base._children_get()
Base._children_reset()
Base._func_exists
Base._func_get_contents
Base._func_is_derived
Base._func_rexists
Base._func_sconsign
Base._func_target_from_source
Base._get_scanner()
Base._get_str()
Base._glob1()
Base._labspath
Base._local
Base._memo
Base._path
Base._path_elements
Base._proxy
Base._save_str()
Base._specific_sources
Base._tags
Base._tpath
Base.add_dependency()
Base.add_ignore()
Base.add_prerequisite()
Base.add_source()
Base.add_to_implicit()
Base.add_to_waiting_parents()
Base.add_to_waiting_s_e()
Base.add_wkid()
Base.all_children()
Base.alter_targets()
Base.always_build
Base.attributes
Base.binfo
Base.build()
Base.builder
Base.builder_set()
Base.built()
Base.cached
Base.changed()
Base.changed_since_last_build
Base.check_attributes()
Base.children()
Base.children_are_up_to_date()
Base.clear()
Base.clear_memoized_values()
Base.cwd
Base.del_binfo()
Base.depends
Base.depends_set
Base.dir
Base.disambiguate()
Base.duplicate
Base.env
Base.env_set()
Base.executor
Base.executor_cleanup()
Base.exists()
Base.explain()
Base.for_signature()
Base.fs
Base.get_abspath()
Base.get_binfo()
Base.get_build_env()
Base.get_build_scanner_path()
Base.get_builder()
Base.get_cachedir_csig()
Base.get_contents()
Base.get_csig()
Base.get_dir()
Base.get_env()
Base.get_env_scanner()
Base.get_executor()
Base.get_found_includes()
Base.get_implicit_deps()
Base.get_internal_path()
Base.get_labspath()
Base.get_ninfo()
Base.get_path()
Base.get_path_elements()
Base.get_relpath()
Base.get_source_scanner()
Base.get_state()
Base.get_stored_implicit()
Base.get_stored_info()
Base.get_string()
Base.get_subst_proxy()
Base.get_suffix()
Base.get_target_scanner()
Base.get_tpath()
Base.getmtime()
Base.getsize()
Base.has_builder()
Base.has_explicit_builder()
Base.ignore
Base.ignore_set
Base.implicit
Base.implicit_set
Base.includes
Base.is_conftest()
Base.is_derived()
Base.is_explicit
Base.is_literal()
Base.is_sconscript()
Base.is_under()
Base.is_up_to_date()
Base.isdir()
Base.isfile()
Base.islink()
Base.linked
Base.lstat()
Base.make_ready()
Base.missing()
Base.multiple_side_effect_has_builder()
Base.must_be_same()
Base.name
Base.new_binfo()
Base.new_ninfo()
Base.ninfo
Base.nocache
Base.noclean
Base.postprocess()
Base.precious
Base.prepare()
Base.prerequisites
Base.pseudo
Base.push_to_cache()
Base.ref_count
Base.release_target_info()
Base.remove()
Base.render_include_tree()
Base.rentry()
Base.reset_executor()
Base.retrieve_from_cache()
Base.rexists()
Base.rfile()
Base.rstr()
Base.sbuilder
Base.scan()
Base.scanner_key()
Base.select_scanner()
Base.set_always_build()
Base.set_executor()
Base.set_explicit()
Base.set_local()
Base.set_nocache()
Base.set_noclean()
Base.set_precious()
Base.set_pseudo()
Base.set_specific_source()
Base.set_src_builder()
Base.set_state()
Base.side_effect
Base.side_effects
Base.sources
Base.sources_set
Base.src_builder()
Base.srcnode()
Base.stat()
Base.state
Base.store_info
Base.str_for_display()
Base.target_from_source()
Base.target_peers
Base.visited()
Base.waiting_parents
Base.waiting_s_e
Base.wkids
Dir
Dir.Attrs
Dir.BuildInfo
Dir.Decider()
Dir.Dir()
Dir.Entry()
Dir.File()
Dir.GetTag()
Dir.NodeInfo
Dir.RDirs()
Dir.Rfindalldirs()
Dir.Tag()
Dir._Rfindalldirs_key()
Dir.__clearRepositoryCache()
Dir.__getattr__()
Dir.__lt__()
Dir.__resetDuplicate()
Dir.__str__()
Dir._abspath
Dir._add_child()
Dir._children_get()
Dir._children_reset()
Dir._create()
Dir._func_exists
Dir._func_get_contents
Dir._func_is_derived
Dir._func_rexists
Dir._func_sconsign
Dir._func_target_from_source
Dir._get_scanner()
Dir._get_str()
Dir._glob1()
Dir._labspath
Dir._local
Dir._memo
Dir._morph()
Dir._path
Dir._path_elements
Dir._proxy
Dir._rel_path_key()
Dir._save_str()
Dir._sconsign
Dir._specific_sources
Dir._srcdir_find_file_key()
Dir._tags
Dir._tpath
Dir.addRepository()
Dir.add_dependency()
Dir.add_ignore()
Dir.add_prerequisite()
Dir.add_source()
Dir.add_to_implicit()
Dir.add_to_waiting_parents()
Dir.add_to_waiting_s_e()
Dir.add_wkid()
Dir.all_children()
Dir.alter_targets()
Dir.always_build
Dir.attributes
Dir.binfo
Dir.build()
Dir.builder
Dir.builder_set()
Dir.built()
Dir.cached
Dir.cachedir_csig
Dir.cachesig
Dir.changed()
Dir.changed_since_last_build
Dir.check_attributes()
Dir.children()
Dir.children_are_up_to_date()
Dir.clear()
Dir.clear_memoized_values()
Dir.contentsig
Dir.cwd
Dir.del_binfo()
Dir.depends
Dir.depends_set
Dir.dir
Dir.dir_on_disk()
Dir.dirname
Dir.disambiguate()
Dir.diskcheck_match()
Dir.do_duplicate()
Dir.duplicate
Dir.entries
Dir.entry_abspath()
Dir.entry_exists_on_disk()
Dir.entry_labspath()
Dir.entry_path()
Dir.entry_tpath()
Dir.env
Dir.env_set()
Dir.executor
Dir.executor_cleanup()
Dir.exists()
Dir.explain()
Dir.file_on_disk()
Dir.for_signature()
Dir.fs
Dir.getRepositories()
Dir.get_abspath()
Dir.get_all_rdirs()
Dir.get_binfo()
Dir.get_build_env()
Dir.get_build_scanner_path()
Dir.get_builder()
Dir.get_cachedir_csig()
Dir.get_contents()
Dir.get_csig()
Dir.get_dir()
Dir.get_env()
Dir.get_env_scanner()
Dir.get_executor()
Dir.get_found_includes()
Dir.get_implicit_deps()
Dir.get_internal_path()
Dir.get_labspath()
Dir.get_ninfo()
Dir.get_path()
Dir.get_path_elements()
Dir.get_relpath()
Dir.get_source_scanner()
Dir.get_state()
Dir.get_stored_implicit()
Dir.get_stored_info()
Dir.get_string()
Dir.get_subst_proxy()
Dir.get_suffix()
Dir.get_target_scanner()
Dir.get_text_contents()
Dir.get_timestamp()
Dir.get_tpath()
Dir.getmtime()
Dir.getsize()
Dir.glob()
Dir.has_builder()
Dir.has_explicit_builder()
Dir.ignore
Dir.ignore_set
Dir.implicit
Dir.implicit_set
Dir.includes
Dir.is_conftest()
Dir.is_derived()
Dir.is_explicit
Dir.is_literal()
Dir.is_sconscript()
Dir.is_under()
Dir.is_up_to_date()
Dir.isdir()
Dir.isfile()
Dir.islink()
Dir.link()
Dir.linked
Dir.lstat()
Dir.make_ready()
Dir.missing()
Dir.multiple_side_effect_has_builder()
Dir.must_be_same()
Dir.name
Dir.new_binfo()
Dir.new_ninfo()
Dir.ninfo
Dir.nocache
Dir.noclean
Dir.on_disk_entries
Dir.postprocess()
Dir.precious
Dir.prepare()
Dir.prerequisites
Dir.pseudo
Dir.push_to_cache()
Dir.rdir()
Dir.ref_count
Dir.rel_path()
Dir.release_target_info()
Dir.released_target_info
Dir.remove()
Dir.render_include_tree()
Dir.rentry()
Dir.rentry_exists_on_disk()
Dir.repositories
Dir.reset_executor()
Dir.retrieve_from_cache()
Dir.rexists()
Dir.rfile()
Dir.root
Dir.rstr()
Dir.sbuilder
Dir.scan()
Dir.scanner_key()
Dir.scanner_paths
Dir.sconsign()
Dir.searched
Dir.select_scanner()
Dir.set_always_build()
Dir.set_executor()
Dir.set_explicit()
Dir.set_local()
Dir.set_nocache()
Dir.set_noclean()
Dir.set_precious()
Dir.set_pseudo()
Dir.set_specific_source()
Dir.set_src_builder()
Dir.set_state()
Dir.side_effect
Dir.side_effects
Dir.sources
Dir.sources_set
Dir.src_builder()
Dir.srcdir
Dir.srcdir_duplicate()
Dir.srcdir_find_file()
Dir.srcdir_list()
Dir.srcnode()
Dir.stat()
Dir.state
Dir.store_info
Dir.str_for_display()
Dir.target_from_source()
Dir.target_peers
Dir.up()
Dir.variant_dirs
Dir.visited()
Dir.waiting_parents
Dir.waiting_s_e
Dir.walk()
Dir.wkids
DirBuildInfo
DirNodeInfo
DiskChecker
Entry
Entry.Attrs
Entry.BuildInfo
Entry.Decider()
Entry.GetTag()
Entry.NodeInfo
Entry.RDirs()
Entry.Rfindalldirs()
Entry.Tag()
Entry._Rfindalldirs_key()
Entry.__getattr__()
Entry.__lt__()
Entry.__str__()
Entry._abspath
Entry._add_child()
Entry._children_get()
Entry._children_reset()
Entry._func_exists
Entry._func_get_contents
Entry._func_is_derived
Entry._func_rexists
Entry._func_sconsign
Entry._func_target_from_source
Entry._get_scanner()
Entry._get_str()
Entry._glob1()
Entry._labspath
Entry._local
Entry._memo
Entry._path
Entry._path_elements
Entry._proxy
Entry._save_str()
Entry._sconsign
Entry._specific_sources
Entry._tags
Entry._tpath
Entry.add_dependency()
Entry.add_ignore()
Entry.add_prerequisite()
Entry.add_source()
Entry.add_to_implicit()
Entry.add_to_waiting_parents()
Entry.add_to_waiting_s_e()
Entry.add_wkid()
Entry.all_children()
Entry.alter_targets()
Entry.always_build
Entry.attributes
Entry.binfo
Entry.build()
Entry.builder
Entry.builder_set()
Entry.built()
Entry.cached
Entry.cachedir_csig
Entry.cachesig
Entry.changed()
Entry.changed_since_last_build
Entry.check_attributes()
Entry.children()
Entry.children_are_up_to_date()
Entry.clear()
Entry.clear_memoized_values()
Entry.contentsig
Entry.cwd
Entry.del_binfo()
Entry.depends
Entry.depends_set
Entry.dir
Entry.dirname
Entry.disambiguate()
Entry.diskcheck_match()
Entry.duplicate
Entry.entries
Entry.env
Entry.env_set()
Entry.executor
Entry.executor_cleanup()
Entry.exists()
Entry.explain()
Entry.for_signature()
Entry.fs
Entry.get_abspath()
Entry.get_binfo()
Entry.get_build_env()
Entry.get_build_scanner_path()
Entry.get_builder()
Entry.get_cachedir_csig()
Entry.get_contents()
Entry.get_csig()
Entry.get_dir()
Entry.get_env()
Entry.get_env_scanner()
Entry.get_executor()
Entry.get_found_includes()
Entry.get_implicit_deps()
Entry.get_internal_path()
Entry.get_labspath()
Entry.get_ninfo()
Entry.get_path()
Entry.get_path_elements()
Entry.get_relpath()
Entry.get_source_scanner()
Entry.get_state()
Entry.get_stored_implicit()
Entry.get_stored_info()
Entry.get_string()
Entry.get_subst_proxy()
Entry.get_suffix()
Entry.get_target_scanner()
Entry.get_text_contents()
Entry.get_tpath()
Entry.getmtime()
Entry.getsize()
Entry.has_builder()
Entry.has_explicit_builder()
Entry.ignore
Entry.ignore_set
Entry.implicit
Entry.implicit_set
Entry.includes
Entry.is_conftest()
Entry.is_derived()
Entry.is_explicit
Entry.is_literal()
Entry.is_sconscript()
Entry.is_under()
Entry.is_up_to_date()
Entry.isdir()
Entry.isfile()
Entry.islink()
Entry.linked
Entry.lstat()
Entry.make_ready()
Entry.missing()
Entry.multiple_side_effect_has_builder()
Entry.must_be_same()
Entry.name
Entry.new_binfo()
Entry.new_ninfo()
Entry.ninfo
Entry.nocache
Entry.noclean
Entry.on_disk_entries
Entry.postprocess()
Entry.precious
Entry.prepare()
Entry.prerequisites
Entry.pseudo
Entry.push_to_cache()
Entry.ref_count
Entry.rel_path()
Entry.release_target_info()
Entry.released_target_info
Entry.remove()
Entry.render_include_tree()
Entry.rentry()
Entry.repositories
Entry.reset_executor()
Entry.retrieve_from_cache()
Entry.rexists()
Entry.rfile()
Entry.root
Entry.rstr()
Entry.sbuilder
Entry.scan()
Entry.scanner_key()
Entry.scanner_paths
Entry.searched
Entry.select_scanner()
Entry.set_always_build()
Entry.set_executor()
Entry.set_explicit()
Entry.set_local()
Entry.set_nocache()
Entry.set_noclean()
Entry.set_precious()
Entry.set_pseudo()
Entry.set_specific_source()
Entry.set_src_builder()
Entry.set_state()
Entry.side_effect
Entry.side_effects
Entry.sources
Entry.sources_set
Entry.src_builder()
Entry.srcdir
Entry.srcnode()
Entry.stat()
Entry.state
Entry.store_info
Entry.str_for_display()
Entry.target_from_source()
Entry.target_peers
Entry.variant_dirs
Entry.visited()
Entry.waiting_parents
Entry.waiting_s_e
Entry.wkids
EntryProxy
EntryProxy.__get_abspath()
EntryProxy.__get_base_path()
EntryProxy.__get_dir()
EntryProxy.__get_file()
EntryProxy.__get_filebase()
EntryProxy.__get_posix_path()
EntryProxy.__get_relpath()
EntryProxy.__get_rsrcdir()
EntryProxy.__get_rsrcnode()
EntryProxy.__get_srcdir()
EntryProxy.__get_srcnode()
EntryProxy.__get_suffix()
EntryProxy.__get_windows_path()
EntryProxy.dictSpecialAttrs
EntryProxy.get()
EntryProxyAttributeError
FS
FS.Dir()
FS.Entry()
FS.File()
FS.Glob()
FS.PyPackageDir()
FS.Repository()
FS.VariantDir()
FS._lookup()
FS.chdir()
FS.chmod()
FS.copy()
FS.copy2()
FS.exists()
FS.get_max_drift()
FS.get_root()
FS.getcwd()
FS.getmtime()
FS.getsize()
FS.isdir()
FS.isfile()
FS.islink()
FS.link()
FS.listdir()
FS.lstat()
FS.makedirs()
FS.mkdir()
FS.open()
FS.readlink()
FS.rename()
FS.scandir()
FS.set_SConstruct_dir()
FS.set_max_drift()
FS.stat()
FS.symlink()
FS.unlink()
FS.variant_dir_target_climb()
File
File.Attrs
File.BuildInfo
File.Decider()
File.Dir()
File.Dirs()
File.Entry()
File.File()
File.GetTag()
File.NodeInfo
File.RDirs()
File.Rfindalldirs()
File.Tag()
File._Rfindalldirs_key()
File.__dmap_cache
File.__dmap_sig_cache
File.__getattr__()
File.__lt__()
File.__str__()
File._abspath
File._add_child()
File._add_strings_to_dependency_map()
File._build_dependency_map()
File._children_get()
File._children_reset()
File._createDir()
File._func_exists
File._func_get_contents
File._func_is_derived
File._func_rexists
File._func_sconsign
File._func_target_from_source
File._get_found_includes_key()
File._get_previous_signatures()
File._get_scanner()
File._get_str()
File._glob1()
File._labspath
File._local
File._memo
File._morph()
File._path
File._path_elements
File._proxy
File._rmv_existing()
File._save_str()
File._sconsign
File._specific_sources
File._tags
File._tpath
File.add_dependency()
File.add_ignore()
File.add_prerequisite()
File.add_source()
File.add_to_implicit()
File.add_to_waiting_parents()
File.add_to_waiting_s_e()
File.add_wkid()
File.all_children()
File.alter_targets()
File.always_build
File.attributes
File.binfo
File.build()
File.builder
File.builder_set()
File.built()
File.cached
File.cachedir_csig
File.cachesig
File.changed()
File.changed_content()
File.changed_since_last_build
File.changed_state()
File.changed_timestamp_match()
File.changed_timestamp_newer()
File.changed_timestamp_then_content()
File.check_attributes()
File.children()
File.children_are_up_to_date()
File.clear()
File.clear_memoized_values()
File.contentsig
File.convert_copy_attrs
File.convert_old_entry()
File.convert_sig_attrs
File.cwd
File.del_binfo()
File.depends
File.depends_set
File.dir
File.dirname
File.disambiguate()
File.diskcheck_match()
File.do_duplicate()
File.duplicate
File.entries
File.env
File.env_set()
File.executor
File.executor_cleanup()
File.exists()
File.explain()
File.find_repo_file()
File.find_src_builder()
File.for_signature()
File.fs
File.get_abspath()
File.get_binfo()
File.get_build_env()
File.get_build_scanner_path()
File.get_builder()
File.get_cachedir_bsig()
File.get_cachedir_csig()
File.get_content_hash()
File.get_contents()
File.get_contents_sig()
File.get_csig()
File.get_dir()
File.get_env()
File.get_env_scanner()
File.get_executor()
File.get_found_includes()
File.get_implicit_deps()
File.get_internal_path()
File.get_labspath()
File.get_max_drift_csig()
File.get_ninfo()
File.get_path()
File.get_path_elements()
File.get_relpath()
File.get_size()
File.get_source_scanner()
File.get_state()
File.get_stored_implicit()
File.get_stored_info()
File.get_string()
File.get_subst_proxy()
File.get_suffix()
File.get_target_scanner()
File.get_text_contents()
File.get_timestamp()
File.get_tpath()
File.getmtime()
File.getsize()
File.has_builder()
File.has_explicit_builder()
File.has_src_builder()
File.hash_chunksize
File.ignore
File.ignore_set
File.implicit
File.implicit_set
File.includes
File.is_conftest()
File.is_derived()
File.is_explicit
File.is_literal()
File.is_sconscript()
File.is_under()
File.is_up_to_date()
File.isdir()
File.isfile()
File.islink()
File.linked
File.lstat()
File.make_ready()
File.missing()
File.multiple_side_effect_has_builder()
File.must_be_same()
File.name
File.new_binfo()
File.new_ninfo()
File.ninfo
File.nocache
File.noclean
File.on_disk_entries
File.postprocess()
File.precious
File.prepare()
File.prerequisites
File.pseudo
File.push_to_cache()
File.ref_count
File.rel_path()
File.release_target_info()
File.released_target_info
File.remove()
File.render_include_tree()
File.rentry()
File.repositories
File.reset_executor()
File.retrieve_from_cache()
File.rexists()
File.rfile()
File.root
File.rstr()
File.sbuilder
File.scan()
File.scanner_key()
File.scanner_paths
File.searched
File.select_scanner()
File.set_always_build()
File.set_executor()
File.set_explicit()
File.set_local()
File.set_nocache()
File.set_noclean()
File.set_precious()
File.set_pseudo()
File.set_specific_source()
File.set_src_builder()
File.set_state()
File.side_effect
File.side_effects
File.sources
File.sources_set
File.src_builder()
File.srcdir
File.srcnode()
File.stat()
File.state
File.store_info
File.str_for_display()
File.target_from_source()
File.target_peers
File.variant_dirs
File.visited()
File.waiting_parents
File.waiting_s_e
File.wkids
FileBuildInfo
FileBuildInfo.__getstate__()
FileBuildInfo.__setstate__()
FileBuildInfo.bact
FileBuildInfo.bactsig
FileBuildInfo.bdepends
FileBuildInfo.bdependsigs
FileBuildInfo.bimplicit
FileBuildInfo.bimplicitsigs
FileBuildInfo.bsources
FileBuildInfo.bsourcesigs
FileBuildInfo.convert_from_sconsign()
FileBuildInfo.convert_to_sconsign()
FileBuildInfo.current_version_id
FileBuildInfo.dependency_map
FileBuildInfo.format()
FileBuildInfo.merge()
FileBuildInfo.prepare_dependencies()
FileBuildInfoFileToCsigMappingError
FileFinder
FileNodeInfo
FileNodeInfo.__getstate__()
FileNodeInfo.__setstate__()
FileNodeInfo.convert()
FileNodeInfo.csig
FileNodeInfo.current_version_id
FileNodeInfo.field_list
FileNodeInfo.format()
FileNodeInfo.fs
FileNodeInfo.merge()
FileNodeInfo.size
FileNodeInfo.str_to_node()
FileNodeInfo.timestamp
FileNodeInfo.update()
LinkFunc()
LocalFS
LocalFS.chmod()
LocalFS.copy()
LocalFS.copy2()
LocalFS.exists()
LocalFS.getmtime()
LocalFS.getsize()
LocalFS.isdir()
LocalFS.isfile()
LocalFS.islink()
LocalFS.link()
LocalFS.listdir()
LocalFS.lstat()
LocalFS.makedirs()
LocalFS.mkdir()
LocalFS.open()
LocalFS.readlink()
LocalFS.rename()
LocalFS.scandir()
LocalFS.stat()
LocalFS.symlink()
LocalFS.unlink()
LocalString()
MkdirFunc()
RootDir
RootDir.Attrs
RootDir.BuildInfo
RootDir.Decider()
RootDir.Dir()
RootDir.Entry()
RootDir.File()
RootDir.GetTag()
RootDir.NodeInfo
RootDir.RDirs()
RootDir.Rfindalldirs()
RootDir.Tag()
RootDir._Rfindalldirs_key()
RootDir.__getattr__()
RootDir.__lt__()
RootDir._abspath
RootDir._add_child()
RootDir._children_get()
RootDir._children_reset()
RootDir._create()
RootDir._func_exists
RootDir._func_get_contents
RootDir._func_is_derived
RootDir._func_rexists
RootDir._func_sconsign
RootDir._func_target_from_source
RootDir._get_scanner()
RootDir._get_str()
RootDir._glob1()
RootDir._labspath
RootDir._local
RootDir._lookupDict
RootDir._lookup_abs()
RootDir._memo
RootDir._morph()
RootDir._path
RootDir._path_elements
RootDir._proxy
RootDir._rel_path_key()
RootDir._save_str()
RootDir._sconsign
RootDir._specific_sources
RootDir._srcdir_find_file_key()
RootDir._tags
RootDir._tpath
RootDir.abspath
RootDir.addRepository()
RootDir.add_dependency()
RootDir.add_ignore()
RootDir.add_prerequisite()
RootDir.add_source()
RootDir.add_to_implicit()
RootDir.add_to_waiting_parents()
RootDir.add_to_waiting_s_e()
RootDir.add_wkid()
RootDir.all_children()
RootDir.alter_targets()
RootDir.always_build
RootDir.attributes
RootDir.binfo
RootDir.build()
RootDir.builder
RootDir.builder_set()
RootDir.built()
RootDir.cached
RootDir.cachedir_csig
RootDir.cachesig
RootDir.changed()
RootDir.changed_since_last_build
RootDir.check_attributes()
RootDir.children()
RootDir.children_are_up_to_date()
RootDir.clear()
RootDir.clear_memoized_values()
RootDir.contentsig
RootDir.cwd
RootDir.del_binfo()
RootDir.depends
RootDir.depends_set
RootDir.dir
RootDir.dir_on_disk()
RootDir.dirname
RootDir.disambiguate()
RootDir.diskcheck_match()
RootDir.do_duplicate()
RootDir.duplicate
RootDir.entries
RootDir.entry_abspath()
RootDir.entry_exists_on_disk()
RootDir.entry_labspath()
RootDir.entry_path()
RootDir.entry_tpath()
RootDir.env
RootDir.env_set()
RootDir.executor
RootDir.executor_cleanup()
RootDir.exists()
RootDir.explain()
RootDir.file_on_disk()
RootDir.for_signature()
RootDir.fs
RootDir.getRepositories()
RootDir.get_abspath()
RootDir.get_all_rdirs()
RootDir.get_binfo()
RootDir.get_build_env()
RootDir.get_build_scanner_path()
RootDir.get_builder()
RootDir.get_cachedir_csig()
RootDir.get_contents()
RootDir.get_csig()
RootDir.get_dir()
RootDir.get_env()
RootDir.get_env_scanner()
RootDir.get_executor()
RootDir.get_found_includes()
RootDir.get_implicit_deps()
RootDir.get_internal_path()
RootDir.get_labspath()
RootDir.get_ninfo()
RootDir.get_path()
RootDir.get_path_elements()
RootDir.get_relpath()
RootDir.get_source_scanner()
RootDir.get_state()
RootDir.get_stored_implicit()
RootDir.get_stored_info()
RootDir.get_string()
RootDir.get_subst_proxy()
RootDir.get_suffix()
RootDir.get_target_scanner()
RootDir.get_text_contents()
RootDir.get_timestamp()
RootDir.get_tpath()
RootDir.getmtime()
RootDir.getsize()
RootDir.glob()
RootDir.has_builder()
RootDir.has_explicit_builder()
RootDir.ignore
RootDir.ignore_set
RootDir.implicit
RootDir.implicit_set
RootDir.includes
RootDir.is_conftest()
RootDir.is_derived()
RootDir.is_explicit
RootDir.is_literal()
RootDir.is_sconscript()
RootDir.is_under()
RootDir.is_up_to_date()
RootDir.isdir()
RootDir.isfile()
RootDir.islink()
RootDir.link()
RootDir.linked
RootDir.lstat()
RootDir.make_ready()
RootDir.missing()
RootDir.multiple_side_effect_has_builder()
RootDir.must_be_same()
RootDir.name
RootDir.new_binfo()
RootDir.new_ninfo()
RootDir.ninfo
RootDir.nocache
RootDir.noclean
RootDir.on_disk_entries
RootDir.path
RootDir.postprocess()
RootDir.precious
RootDir.prepare()
RootDir.prerequisites
RootDir.pseudo
RootDir.push_to_cache()
RootDir.rdir()
RootDir.ref_count
RootDir.rel_path()
RootDir.release_target_info()
RootDir.released_target_info
RootDir.remove()
RootDir.render_include_tree()
RootDir.rentry()
RootDir.rentry_exists_on_disk()
RootDir.repositories
RootDir.reset_executor()
RootDir.retrieve_from_cache()
RootDir.rexists()
RootDir.rfile()
RootDir.root
RootDir.rstr()
RootDir.sbuilder
RootDir.scan()
RootDir.scanner_key()
RootDir.scanner_paths
RootDir.sconsign()
RootDir.searched
RootDir.select_scanner()
RootDir.set_always_build()
RootDir.set_executor()
RootDir.set_explicit()
RootDir.set_local()
RootDir.set_nocache()
RootDir.set_noclean()
RootDir.set_precious()
RootDir.set_pseudo()
RootDir.set_specific_source()
RootDir.set_src_builder()
RootDir.set_state()
RootDir.side_effect
RootDir.side_effects
RootDir.sources
RootDir.sources_set
RootDir.src_builder()
RootDir.srcdir
RootDir.srcdir_duplicate()
RootDir.srcdir_find_file()
RootDir.srcdir_list()
RootDir.srcnode()
RootDir.stat()
RootDir.state
RootDir.store_info
RootDir.str_for_display()
RootDir.target_from_source()
RootDir.target_peers
RootDir.up()
RootDir.variant_dirs
RootDir.visited()
RootDir.waiting_parents
RootDir.waiting_s_e
RootDir.walk()
RootDir.wkids
UnlinkFunc()
_Null
_classEntry
_copy_func()
_hardlink_func()
_my_normcase()
_softlink_func()
diskcheck_types()
do_diskcheck_match()
find_file()
get_MkdirBuilder()
get_default_fs()
has_glob_magic()
ignore_diskcheck_match()
initialize_do_splitdrive()
invalidate_node_memos()
needs_normpath_match()
save_strings()
sconsign_dir()
sconsign_none()
set_diskcheck()
set_duplicate()
- SCons.Node.Python module
Value
Value.Attrs
Value.BuildInfo
Value.Decider()
Value.GetTag()
Value.NodeInfo
Value.Tag()
Value._add_child()
Value._children_get()
Value._children_reset()
Value._func_exists
Value._func_get_contents
Value._func_is_derived
Value._func_rexists
Value._func_target_from_source
Value._get_scanner()
Value._memo
Value._specific_sources
Value._tags
Value.add_dependency()
Value.add_ignore()
Value.add_prerequisite()
Value.add_source()
Value.add_to_implicit()
Value.add_to_waiting_parents()
Value.add_to_waiting_s_e()
Value.add_wkid()
Value.all_children()
Value.alter_targets()
Value.always_build
Value.attributes
Value.binfo
Value.build()
Value.builder
Value.builder_set()
Value.built()
Value.cached
Value.changed()
Value.changed_since_last_build
Value.check_attributes()
Value.children()
Value.children_are_up_to_date()
Value.clear()
Value.clear_memoized_values()
Value.del_binfo()
Value.depends
Value.depends_set
Value.disambiguate()
Value.env
Value.env_set()
Value.executor
Value.executor_cleanup()
Value.exists()
Value.explain()
Value.for_signature()
Value.get_abspath()
Value.get_binfo()
Value.get_build_env()
Value.get_build_scanner_path()
Value.get_builder()
Value.get_cachedir_csig()
Value.get_contents()
Value.get_csig()
Value.get_env()
Value.get_env_scanner()
Value.get_executor()
Value.get_found_includes()
Value.get_implicit_deps()
Value.get_ninfo()
Value.get_source_scanner()
Value.get_state()
Value.get_stored_implicit()
Value.get_stored_info()
Value.get_string()
Value.get_subst_proxy()
Value.get_suffix()
Value.get_target_scanner()
Value.get_text_contents()
Value.has_builder()
Value.has_explicit_builder()
Value.ignore
Value.ignore_set
Value.implicit
Value.implicit_set
Value.includes
Value.is_conftest()
Value.is_derived()
Value.is_explicit
Value.is_literal()
Value.is_sconscript()
Value.is_under()
Value.is_up_to_date()
Value.linked
Value.make_ready()
Value.missing()
Value.multiple_side_effect_has_builder()
Value.new_binfo()
Value.new_ninfo()
Value.ninfo
Value.nocache
Value.noclean
Value.postprocess()
Value.precious
Value.prepare()
Value.prerequisites
Value.pseudo
Value.push_to_cache()
Value.read()
Value.ref_count
Value.release_target_info()
Value.remove()
Value.render_include_tree()
Value.reset_executor()
Value.retrieve_from_cache()
Value.rexists()
Value.scan()
Value.scanner_key()
Value.select_scanner()
Value.set_always_build()
Value.set_executor()
Value.set_explicit()
Value.set_nocache()
Value.set_noclean()
Value.set_precious()
Value.set_pseudo()
Value.set_specific_source()
Value.set_state()
Value.side_effect
Value.side_effects
Value.sources
Value.sources_set
Value.state
Value.store_info
Value.str_for_display()
Value.target_peers
Value.visited()
Value.waiting_parents
Value.waiting_s_e
Value.wkids
Value.write()
ValueBuildInfo
ValueBuildInfo.__getstate__()
ValueBuildInfo.__setstate__()
ValueBuildInfo.bact
ValueBuildInfo.bactsig
ValueBuildInfo.bdepends
ValueBuildInfo.bdependsigs
ValueBuildInfo.bimplicit
ValueBuildInfo.bimplicitsigs
ValueBuildInfo.bsources
ValueBuildInfo.bsourcesigs
ValueBuildInfo.current_version_id
ValueBuildInfo.merge()
ValueNodeInfo
ValueWithMemo()
- Module contents
- SCons.Platform package
- Module contents
- Submodules
- SCons.Platform.aix module
- SCons.Platform.cygwin module
- SCons.Platform.darwin module
- SCons.Platform.hpux module
- SCons.Platform.irix module
- SCons.Platform.mingw module
- SCons.Platform.os2 module
- SCons.Platform.posix module
- SCons.Platform.sunos module
- SCons.Platform.virtualenv module
- SCons.Platform.win32 module
- SCons.Scanner package
- Module contents
- Submodules
- SCons.Scanner.C module
CConditionalScanner()
CScanner()
SConsCPPConditionalScanner
SConsCPPConditionalScanner.__call__()
SConsCPPConditionalScanner._do_if_else_condition()
SConsCPPConditionalScanner._match_tuples()
SConsCPPConditionalScanner._parse_tuples()
SConsCPPConditionalScanner._process_tuples()
SConsCPPConditionalScanner.all_include()
SConsCPPConditionalScanner.do_define()
SConsCPPConditionalScanner.do_elif()
SConsCPPConditionalScanner.do_else()
SConsCPPConditionalScanner.do_endif()
SConsCPPConditionalScanner.do_if()
SConsCPPConditionalScanner.do_ifdef()
SConsCPPConditionalScanner.do_ifndef()
SConsCPPConditionalScanner.do_import()
SConsCPPConditionalScanner.do_include()
SConsCPPConditionalScanner.do_include_next()
SConsCPPConditionalScanner.do_nothing()
SConsCPPConditionalScanner.do_undef()
SConsCPPConditionalScanner.eval_expression()
SConsCPPConditionalScanner.finalize_result()
SConsCPPConditionalScanner.find_include_file()
SConsCPPConditionalScanner.initialize_result()
SConsCPPConditionalScanner.process_contents()
SConsCPPConditionalScanner.process_file()
SConsCPPConditionalScanner.read_file()
SConsCPPConditionalScanner.resolve_include()
SConsCPPConditionalScanner.restore()
SConsCPPConditionalScanner.save()
SConsCPPConditionalScanner.scons_current_file()
SConsCPPConditionalScanner.start_handling_includes()
SConsCPPConditionalScanner.stop_handling_includes()
SConsCPPConditionalScanner.tupleize()
SConsCPPConditionalScannerWrapper
SConsCPPScanner
SConsCPPScanner.__call__()
SConsCPPScanner._do_if_else_condition()
SConsCPPScanner._match_tuples()
SConsCPPScanner._parse_tuples()
SConsCPPScanner._process_tuples()
SConsCPPScanner.all_include()
SConsCPPScanner.do_define()
SConsCPPScanner.do_elif()
SConsCPPScanner.do_else()
SConsCPPScanner.do_endif()
SConsCPPScanner.do_if()
SConsCPPScanner.do_ifdef()
SConsCPPScanner.do_ifndef()
SConsCPPScanner.do_import()
SConsCPPScanner.do_include()
SConsCPPScanner.do_include_next()
SConsCPPScanner.do_nothing()
SConsCPPScanner.do_undef()
SConsCPPScanner.eval_expression()
SConsCPPScanner.finalize_result()
SConsCPPScanner.find_include_file()
SConsCPPScanner.initialize_result()
SConsCPPScanner.process_contents()
SConsCPPScanner.process_file()
SConsCPPScanner.read_file()
SConsCPPScanner.resolve_include()
SConsCPPScanner.restore()
SConsCPPScanner.save()
SConsCPPScanner.scons_current_file()
SConsCPPScanner.start_handling_includes()
SConsCPPScanner.stop_handling_includes()
SConsCPPScanner.tupleize()
SConsCPPScannerWrapper
dictify_CPPDEFINES()
- SCons.Scanner.D module
- SCons.Scanner.Dir module
- SCons.Scanner.Fortran module
- SCons.Scanner.IDL module
- SCons.Scanner.Java module
- SCons.Scanner.LaTeX module
FindENVPathDirs
LaTeX
LaTeX.__call__()
LaTeX._latex_names()
LaTeX._recurse_all_nodes()
LaTeX._recurse_no_nodes()
LaTeX.add_scanner()
LaTeX.add_skey()
LaTeX.canonical_text()
LaTeX.env_variables
LaTeX.find_include()
LaTeX.get_skeys()
LaTeX.keyword_paths
LaTeX.path()
LaTeX.scan()
LaTeX.scan_recurse()
LaTeX.select()
LaTeX.sort_key()
LaTeX.two_arg_commands
LaTeXScanner()
PDFLaTeXScanner()
_Null
_null
modify_env_var()
- SCons.Scanner.Prog module
- SCons.Scanner.RC module
- SCons.Scanner.SWIG module
- SCons.Script package
- Module contents
HelpFunction()
TargetList
TargetList._abc_impl
TargetList._add_Default()
TargetList._clear()
TargetList._do_nothing()
TargetList.append()
TargetList.clear()
TargetList.copy()
TargetList.count()
TargetList.extend()
TargetList.index()
TargetList.insert()
TargetList.pop()
TargetList.remove()
TargetList.reverse()
TargetList.sort()
Variables()
_Add_Arguments()
_Add_Targets()
_Get_Default_Targets()
_Set_Default_Targets()
_Set_Default_Targets_Has_Been_Called()
_Set_Default_Targets_Has_Not_Been_Called()
set_missing_sconscript_error()
- Submodules
- SCons.Script.Interactive module
SConsInteractiveCmd
SConsInteractiveCmd._do_one_help()
SConsInteractiveCmd._doc_to_help()
SConsInteractiveCmd._strip_initial_spaces()
SConsInteractiveCmd.cmdloop()
SConsInteractiveCmd.columnize()
SConsInteractiveCmd.complete()
SConsInteractiveCmd.complete_help()
SConsInteractiveCmd.completedefault()
SConsInteractiveCmd.completenames()
SConsInteractiveCmd.default()
SConsInteractiveCmd.do_EOF()
SConsInteractiveCmd.do_build()
SConsInteractiveCmd.do_clean()
SConsInteractiveCmd.do_exit()
SConsInteractiveCmd.do_help()
SConsInteractiveCmd.do_shell()
SConsInteractiveCmd.do_version()
SConsInteractiveCmd.doc_header
SConsInteractiveCmd.doc_leader
SConsInteractiveCmd.emptyline()
SConsInteractiveCmd.get_names()
SConsInteractiveCmd.identchars
SConsInteractiveCmd.intro
SConsInteractiveCmd.lastcmd
SConsInteractiveCmd.misc_header
SConsInteractiveCmd.nohelp
SConsInteractiveCmd.onecmd()
SConsInteractiveCmd.parseline()
SConsInteractiveCmd.postcmd()
SConsInteractiveCmd.postloop()
SConsInteractiveCmd.precmd()
SConsInteractiveCmd.preloop()
SConsInteractiveCmd.print_topics()
SConsInteractiveCmd.prompt
SConsInteractiveCmd.ruler
SConsInteractiveCmd.synonyms
SConsInteractiveCmd.undoc_header
SConsInteractiveCmd.use_rawinput
interact()
- SCons.Script.Main module
AddOption()
BuildTask
BuildTask.LOGGER
BuildTask._abc_impl
BuildTask._exception_raise()
BuildTask._no_exception_to_raise()
BuildTask.display()
BuildTask.do_failed()
BuildTask.exc_clear()
BuildTask.exc_info()
BuildTask.exception_set()
BuildTask.execute()
BuildTask.executed()
BuildTask.executed_with_callbacks()
BuildTask.executed_without_callbacks()
BuildTask.fail_continue()
BuildTask.fail_stop()
BuildTask.failed()
BuildTask.get_target()
BuildTask.make_ready()
BuildTask.make_ready_all()
BuildTask.make_ready_current()
BuildTask.needs_execute()
BuildTask.postprocess()
BuildTask.prepare()
BuildTask.trace_message()
CleanTask
CleanTask.LOGGER
CleanTask._abc_impl
CleanTask._clean_targets()
CleanTask._exception_raise()
CleanTask._get_files_to_clean()
CleanTask._no_exception_to_raise()
CleanTask.display()
CleanTask.exc_clear()
CleanTask.exc_info()
CleanTask.exception_set()
CleanTask.execute()
CleanTask.executed()
CleanTask.executed_with_callbacks()
CleanTask.executed_without_callbacks()
CleanTask.fail_continue()
CleanTask.fail_stop()
CleanTask.failed()
CleanTask.fs_delete()
CleanTask.get_target()
CleanTask.make_ready()
CleanTask.make_ready_all()
CleanTask.make_ready_current()
CleanTask.needs_execute()
CleanTask.postprocess()
CleanTask.prepare()
CleanTask.remove()
CleanTask.show()
CleanTask.trace_message()
DebugOptions()
FakeOptionParser
GetBuildFailures()
GetOption()
PrintHelp()
Progress()
Progressor
QuestionTask
QuestionTask.LOGGER
QuestionTask._abc_impl
QuestionTask._exception_raise()
QuestionTask._no_exception_to_raise()
QuestionTask.display()
QuestionTask.exc_clear()
QuestionTask.exc_info()
QuestionTask.exception_set()
QuestionTask.execute()
QuestionTask.executed()
QuestionTask.executed_with_callbacks()
QuestionTask.executed_without_callbacks()
QuestionTask.fail_continue()
QuestionTask.fail_stop()
QuestionTask.failed()
QuestionTask.get_target()
QuestionTask.make_ready()
QuestionTask.make_ready_all()
QuestionTask.make_ready_current()
QuestionTask.needs_execute()
QuestionTask.postprocess()
QuestionTask.prepare()
QuestionTask.trace_message()
SConsPrintHelpException
SetOption()
TreePrinter
ValidateOptions()
_SConstruct_exists()
_build_targets()
_create_path()
_exec_main()
_load_all_site_scons_dirs()
_load_site_scons_dir()
_main()
_scons_internal_error()
_scons_internal_warning()
_scons_syntax_error()
_scons_user_error()
_scons_user_warning()
_set_debug_values()
find_deepest_user_frame()
main()
path_string()
python_version_deprecated()
python_version_string()
python_version_unsupported()
revert_io()
test_load_all_site_scons_dirs()
version_string()
- SCons.Script.SConsOptions module
Parser()
SConsBadOptionError
SConsIndentedHelpFormatter
SConsIndentedHelpFormatter.NO_DEFAULT_VALUE
SConsIndentedHelpFormatter._format_text()
SConsIndentedHelpFormatter.dedent()
SConsIndentedHelpFormatter.expand_default()
SConsIndentedHelpFormatter.format_description()
SConsIndentedHelpFormatter.format_epilog()
SConsIndentedHelpFormatter.format_heading()
SConsIndentedHelpFormatter.format_option()
SConsIndentedHelpFormatter.format_option_strings()
SConsIndentedHelpFormatter.format_usage()
SConsIndentedHelpFormatter.indent()
SConsIndentedHelpFormatter.set_long_opt_delimiter()
SConsIndentedHelpFormatter.set_parser()
SConsIndentedHelpFormatter.set_short_opt_delimiter()
SConsIndentedHelpFormatter.store_local_option_strings()
SConsIndentedHelpFormatter.store_option_strings()
SConsOption
SConsOption.ACTIONS
SConsOption.ALWAYS_TYPED_ACTIONS
SConsOption.ATTRS
SConsOption.CHECK_METHODS
SConsOption.CONST_ACTIONS
SConsOption.STORE_ACTIONS
SConsOption.TYPED_ACTIONS
SConsOption.TYPES
SConsOption.TYPE_CHECKER
SConsOption._check_action()
SConsOption._check_callback()
SConsOption._check_choice()
SConsOption._check_const()
SConsOption._check_dest()
SConsOption._check_nargs()
SConsOption._check_nargs_optional()
SConsOption._check_opt_strings()
SConsOption._check_type()
SConsOption._set_attrs()
SConsOption._set_opt_strings()
SConsOption.check_value()
SConsOption.convert_value()
SConsOption.get_opt_string()
SConsOption.process()
SConsOption.take_action()
SConsOption.takes_value()
SConsOptionGroup
SConsOptionGroup._check_conflict()
SConsOptionGroup._create_option_list()
SConsOptionGroup._create_option_mappings()
SConsOptionGroup._share_option_mappings()
SConsOptionGroup.add_option()
SConsOptionGroup.add_options()
SConsOptionGroup.destroy()
SConsOptionGroup.format_description()
SConsOptionGroup.format_help()
SConsOptionGroup.format_option_help()
SConsOptionGroup.get_description()
SConsOptionGroup.get_option()
SConsOptionGroup.has_option()
SConsOptionGroup.remove_option()
SConsOptionGroup.set_conflict_handler()
SConsOptionGroup.set_description()
SConsOptionGroup.set_title()
SConsOptionParser
SConsOptionParser._add_help_option()
SConsOptionParser._add_version_option()
SConsOptionParser._check_conflict()
SConsOptionParser._create_option_list()
SConsOptionParser._create_option_mappings()
SConsOptionParser._get_all_options()
SConsOptionParser._get_args()
SConsOptionParser._init_parsing_state()
SConsOptionParser._match_long_opt()
SConsOptionParser._populate_option_list()
SConsOptionParser._process_args()
SConsOptionParser._process_long_opt()
SConsOptionParser._process_short_opts()
SConsOptionParser._share_option_mappings()
SConsOptionParser.add_local_option()
SConsOptionParser.add_option()
SConsOptionParser.add_option_group()
SConsOptionParser.add_options()
SConsOptionParser.check_values()
SConsOptionParser.destroy()
SConsOptionParser.disable_interspersed_args()
SConsOptionParser.enable_interspersed_args()
SConsOptionParser.error()
SConsOptionParser.exit()
SConsOptionParser.expand_prog_name()
SConsOptionParser.format_description()
SConsOptionParser.format_epilog()
SConsOptionParser.format_help()
SConsOptionParser.format_local_option_help()
SConsOptionParser.format_option_help()
SConsOptionParser.get_default_values()
SConsOptionParser.get_description()
SConsOptionParser.get_option()
SConsOptionParser.get_option_group()
SConsOptionParser.get_prog_name()
SConsOptionParser.get_usage()
SConsOptionParser.get_version()
SConsOptionParser.has_option()
SConsOptionParser.parse_args()
SConsOptionParser.preserve_unknown_options
SConsOptionParser.print_help()
SConsOptionParser.print_local_option_help()
SConsOptionParser.print_usage()
SConsOptionParser.print_version()
SConsOptionParser.raise_exception_on_error
SConsOptionParser.remove_option()
SConsOptionParser.reparse_local_options()
SConsOptionParser.set_conflict_handler()
SConsOptionParser.set_default()
SConsOptionParser.set_defaults()
SConsOptionParser.set_description()
SConsOptionParser.set_process_default_values()
SConsOptionParser.set_usage()
SConsOptionParser.standard_option_list
SConsValues
diskcheck_convert()
- SCons.Script.SConscript module
BuildDefaultGlobals()
Configure()
DefaultEnvironmentCall
Frame
Return()
SConsEnvironment
SConsEnvironment.Action()
SConsEnvironment.AddMethod()
SConsEnvironment.AddPostAction()
SConsEnvironment.AddPreAction()
SConsEnvironment.Alias()
SConsEnvironment.AlwaysBuild()
SConsEnvironment.Append()
SConsEnvironment.AppendENVPath()
SConsEnvironment.AppendUnique()
SConsEnvironment.Builder()
SConsEnvironment.CacheDir()
SConsEnvironment.Clean()
SConsEnvironment.Clone()
SConsEnvironment.Command()
SConsEnvironment.Configure()
SConsEnvironment.Decider()
SConsEnvironment.Default()
SConsEnvironment.Depends()
SConsEnvironment.Detect()
SConsEnvironment.Dictionary()
SConsEnvironment.Dir()
SConsEnvironment.Dump()
SConsEnvironment.EnsurePythonVersion()
SConsEnvironment.EnsureSConsVersion()
SConsEnvironment.Entry()
SConsEnvironment.Environment()
SConsEnvironment.Execute()
SConsEnvironment.Exit()
SConsEnvironment.Export()
SConsEnvironment.File()
SConsEnvironment.FindFile()
SConsEnvironment.FindInstalledFiles()
SConsEnvironment.FindIxes()
SConsEnvironment.FindSourceFiles()
SConsEnvironment.Flatten()
SConsEnvironment.GetBuildPath()
SConsEnvironment.GetLaunchDir()
SConsEnvironment.GetOption()
SConsEnvironment.GetSConsVersion()
SConsEnvironment.Glob()
SConsEnvironment.Help()
SConsEnvironment.Ignore()
SConsEnvironment.Import()
SConsEnvironment.Literal()
SConsEnvironment.Local()
SConsEnvironment.MergeFlags()
SConsEnvironment.NoCache()
SConsEnvironment.NoClean()
SConsEnvironment.Override()
SConsEnvironment.ParseConfig()
SConsEnvironment.ParseDepends()
SConsEnvironment.ParseFlags()
SConsEnvironment.Platform()
SConsEnvironment.Precious()
SConsEnvironment.Prepend()
SConsEnvironment.PrependENVPath()
SConsEnvironment.PrependUnique()
SConsEnvironment.Pseudo()
SConsEnvironment.PyPackageDir()
SConsEnvironment.RemoveMethod()
SConsEnvironment.Replace()
SConsEnvironment.ReplaceIxes()
SConsEnvironment.Repository()
SConsEnvironment.Requires()
SConsEnvironment.SConscript()
SConsEnvironment.SConscriptChdir()
SConsEnvironment.SConsignFile()
SConsEnvironment.Scanner()
SConsEnvironment.SetDefault()
SConsEnvironment.SetOption()
SConsEnvironment.SideEffect()
SConsEnvironment.Split()
SConsEnvironment.Tool()
SConsEnvironment.Value()
SConsEnvironment.VariantDir()
SConsEnvironment.WhereIs()
SConsEnvironment._canonicalize()
SConsEnvironment._changed_build()
SConsEnvironment._changed_content()
SConsEnvironment._changed_timestamp_match()
SConsEnvironment._changed_timestamp_newer()
SConsEnvironment._changed_timestamp_then_content()
SConsEnvironment._find_toolpath_dir()
SConsEnvironment._get_SConscript_filenames()
SConsEnvironment._get_major_minor_revision()
SConsEnvironment._gsm()
SConsEnvironment._init_special()
SConsEnvironment._update()
SConsEnvironment._update_onlynew()
SConsEnvironment.arg2nodes()
SConsEnvironment.backtick()
SConsEnvironment.get()
SConsEnvironment.get_CacheDir()
SConsEnvironment.get_builder()
SConsEnvironment.get_factory()
SConsEnvironment.get_scanner()
SConsEnvironment.gvars()
SConsEnvironment.items()
SConsEnvironment.keys()
SConsEnvironment.lvars()
SConsEnvironment.scanner_map_delete()
SConsEnvironment.setdefault()
SConsEnvironment.subst()
SConsEnvironment.subst_kw()
SConsEnvironment.subst_list()
SConsEnvironment.subst_path()
SConsEnvironment.subst_target_source()
SConsEnvironment.validate_CacheDir_class()
SConsEnvironment.values()
SConscriptReturn
SConscript_exception()
_SConscript()
annotate()
compute_exports()
get_DefaultEnvironmentProxy()
get_calling_namespaces()
handle_missing_SConscript()
- Module contents
- SCons.Taskmaster package
- Module contents
AlwaysTask
AlwaysTask.LOGGER
AlwaysTask._abc_impl
AlwaysTask._exception_raise()
AlwaysTask._no_exception_to_raise()
AlwaysTask.display()
AlwaysTask.exc_clear()
AlwaysTask.exc_info()
AlwaysTask.exception_set()
AlwaysTask.execute()
AlwaysTask.executed()
AlwaysTask.executed_with_callbacks()
AlwaysTask.executed_without_callbacks()
AlwaysTask.fail_continue()
AlwaysTask.fail_stop()
AlwaysTask.failed()
AlwaysTask.get_target()
AlwaysTask.make_ready()
AlwaysTask.make_ready_all()
AlwaysTask.make_ready_current()
AlwaysTask.needs_execute()
AlwaysTask.postprocess()
AlwaysTask.prepare()
AlwaysTask.trace_message()
OutOfDateTask
OutOfDateTask.LOGGER
OutOfDateTask._abc_impl
OutOfDateTask._exception_raise()
OutOfDateTask._no_exception_to_raise()
OutOfDateTask.display()
OutOfDateTask.exc_clear()
OutOfDateTask.exc_info()
OutOfDateTask.exception_set()
OutOfDateTask.execute()
OutOfDateTask.executed()
OutOfDateTask.executed_with_callbacks()
OutOfDateTask.executed_without_callbacks()
OutOfDateTask.fail_continue()
OutOfDateTask.fail_stop()
OutOfDateTask.failed()
OutOfDateTask.get_target()
OutOfDateTask.make_ready()
OutOfDateTask.make_ready_all()
OutOfDateTask.make_ready_current()
OutOfDateTask.needs_execute()
OutOfDateTask.postprocess()
OutOfDateTask.prepare()
OutOfDateTask.trace_message()
Stats
Task
Task.LOGGER
Task._abc_impl
Task._exception_raise()
Task._no_exception_to_raise()
Task.display()
Task.exc_clear()
Task.exc_info()
Task.exception_set()
Task.execute()
Task.executed()
Task.executed_with_callbacks()
Task.executed_without_callbacks()
Task.fail_continue()
Task.fail_stop()
Task.failed()
Task.get_target()
Task.make_ready()
Task.make_ready_all()
Task.make_ready_current()
Task.needs_execute()
Task.postprocess()
Task.prepare()
Task.trace_message()
Taskmaster
dump_stats()
find_cycle()
- Submodules
- SCons.Taskmaster.Job module
InterruptState
Jobs
LegacyParallel
NewParallel
NewParallel.FakeCondition
NewParallel.FakeLock
NewParallel.State
NewParallel.Worker
NewParallel.Worker._bootstrap()
NewParallel.Worker._bootstrap_inner()
NewParallel.Worker._delete()
NewParallel.Worker._initialized
NewParallel.Worker._reset_internal_locks()
NewParallel.Worker._set_ident()
NewParallel.Worker._set_native_id()
NewParallel.Worker._set_tstate_lock()
NewParallel.Worker._stop()
NewParallel.Worker._wait_for_tstate_lock()
NewParallel.Worker.daemon
NewParallel.Worker.getName()
NewParallel.Worker.ident
NewParallel.Worker.isDaemon()
NewParallel.Worker.is_alive()
NewParallel.Worker.join()
NewParallel.Worker.name
NewParallel.Worker.native_id
NewParallel.Worker.run()
NewParallel.Worker.setDaemon()
NewParallel.Worker.setName()
NewParallel.Worker.start()
NewParallel._adjust_stack_size()
NewParallel._maybe_start_worker()
NewParallel._restore_stack_size()
NewParallel._setup_logging()
NewParallel._start_worker()
NewParallel._work()
NewParallel.start()
NewParallel.trace_message()
Serial
ThreadPool
Worker
Worker._bootstrap()
Worker._bootstrap_inner()
Worker._delete()
Worker._initialized
Worker._reset_internal_locks()
Worker._set_ident()
Worker._set_native_id()
Worker._set_tstate_lock()
Worker._stop()
Worker._wait_for_tstate_lock()
Worker.daemon
Worker.getName()
Worker.ident
Worker.isDaemon()
Worker.is_alive()
Worker.join()
Worker.name
Worker.native_id
Worker.run()
Worker.setDaemon()
Worker.setName()
Worker.start()
- Module contents
- SCons.Tool package
- Module contents
CreateJarBuilder()
CreateJavaClassDirBuilder()
CreateJavaClassFileBuilder()
CreateJavaFileBuilder()
CreateJavaHBuilder()
FindAllTools()
FindTool()
Initializers()
Tool
ToolInitializer
ToolInitializerMethod
createCFileBuilders()
createLoadableModuleBuilder()
createObjBuilders()
createProgBuilder()
createSharedLibBuilder()
createStaticLibBuilder()
find_program_path()
tool_list()
- Module contents
- SCons.Util package
- Module contents
CLVar
Delegate
DispatchingFormatter
DispatchingFormatter.converter()
DispatchingFormatter.default_msec_format
DispatchingFormatter.default_time_format
DispatchingFormatter.format()
DispatchingFormatter.formatException()
DispatchingFormatter.formatMessage()
DispatchingFormatter.formatStack()
DispatchingFormatter.formatTime()
DispatchingFormatter.usesTime()
DisplayEngine
IDX()
LogicalLines
NodeList
Proxy
RegError
RegGetValue()
RegOpenKeyEx()
Selector
Split()
Unbuffered
UniqueList
WhereIs()
_NoError
_semi_deepcopy_list()
_semi_deepcopy_tuple()
adjustixes()
case_sensitive_suffixes()
cmp()
containsAll()
containsAny()
containsOnly()
dictify()
do_flatten()
flatten()
flatten_sequence()
get_native_path()
logical_lines()
make_path_relative()
print_time()
print_tree()
render_tree()
rightmost_separator()
sanitize_shell_env()
semi_deepcopy()
semi_deepcopy_dict()
silent_intern()
splitext()
unique()
uniquer_hashables()
updrive()
wait_for_process_to_die()
- Submodules
- SCons.Util.envs module
- SCons.Util.filelock module
- SCons.Util.hashes module
MD5collect()
MD5filesignature()
MD5signature()
_attempt_get_hash_function()
_attempt_init_of_python_3_9_hash_object()
_get_hash_object()
_set_allowed_viable_default_hashes()
_show_md5_warning()
get_current_hash_algorithm_used()
get_hash_format()
hash_collect()
hash_file_signature()
hash_signature()
set_hash_format()
- SCons.Util.sctypes module
- SCons.Util.stats module
- Module contents
- SCons.Variables package
- Module contents
- Submodules
- SCons.Variables.BoolVariable module
- SCons.Variables.EnumVariable module
- SCons.Variables.ListVariable module
ListVariable()
_ListVariable
_ListVariable._abc_impl
_ListVariable.append()
_ListVariable.clear()
_ListVariable.copy()
_ListVariable.count()
_ListVariable.extend()
_ListVariable.index()
_ListVariable.insert()
_ListVariable.pop()
_ListVariable.prepare_to_store()
_ListVariable.remove()
_ListVariable.reverse()
_ListVariable.sort()
_converter()
_validator()
- SCons.Variables.PackageVariable module
- SCons.Variables.PathVariable module
- SCons.compat package
Submodules#
SCons.Action module#
SCons Actions.
Information about executing any sort of action that can build one or more target Nodes (typically files) from one or more source Nodes (also typically files) given a specific Environment.
The base class here is ActionBase. The base class supplies just a few utility methods and some generic methods for displaying information about an Action in response to the various commands that control printing.
A second-level base class is _ActionAction. This extends ActionBase by providing the methods that can be used to show and perform an action. True Action objects will subclass _ActionAction; Action factory class objects will subclass ActionBase.
The heavy lifting is handled by subclasses for the different types of actions we might execute:
CommandAction CommandGeneratorAction FunctionAction ListAction
The subclasses supply the following public interface methods used by other modules:
- __call__()
THE public interface, “calling” an Action object executes the command or Python function. This also takes care of printing a pre-substitution command for debugging purposes.
- get_contents()
Fetches the “contents” of an Action for signature calculation plus the varlist. This is what gets checksummed to decide if a target needs to be rebuilt because its action changed.
- genstring()
Returns a string representation of the Action without command substitution, but allows a CommandGeneratorAction to generate the right action based on the specified target, source and env. This is used by the Signature subsystem (through the Executor) to obtain an (imprecise) representation of the Action operation for informative purposes.
Subclasses also supply the following methods for internal use within this module:
- __str__()
Returns a string approximation of the Action; no variable substitution is performed.
- execute()
The internal method that really, truly, actually handles the execution of a command or Python function. This is used so that the __call__() methods can take care of displaying any pre-substitution representations, and then execute an action without worrying about the specific Actions involved.
- get_presig()
Fetches the “contents” of a subclass for signature calculation. The varlist is added to this to produce the Action’s contents. TODO(?): Change this to always return bytes and not str?
- strfunction()
Returns a substituted string representation of the Action. This is used by the _ActionAction.show() command to display the command/function that will be executed to generate the target(s).
There is a related independent ActionCaller class that looks like a regular Action, and which serves as a wrapper for arbitrary functions that we want to let the user specify the arguments to now, but actually execute later (when an out-of-date check determines that it’s needed to be executed, for example). Objects of this class are returned by an ActionFactory class that provides a __call__() method as a convenient way for wrapping up the functions.
- class SCons.Action.ActionBase[source]#
Bases:
ABC
Base class for all types of action objects that can be held by other objects (Builders, Executors, etc.) This provides the common methods for manipulating and combining those actions.
- _abc_impl = <_abc._abc_data object>#
- batch_key(env, target, source)#
- class SCons.Action.ActionCaller(parent, args, kw)[source]#
Bases:
object
A class for delaying calling an Action function with specific (positional and keyword) arguments until the Action is actually executed.
This class looks to the rest of the world like a normal Action object, but what it’s really doing is hanging on to the arguments until we have a target, source and env to use for the expansion.
- class SCons.Action.ActionFactory(actfunc, strfunc, convert=<function ActionFactory.<lambda>>)[source]#
Bases:
object
A factory class that will wrap up an arbitrary function as an SCons-executable Action object.
The real heavy lifting here is done by the ActionCaller class. We just collect the (positional and keyword) arguments that we’re called with and give them to the ActionCaller object we create, so it can hang onto them until it needs them.
- class SCons.Action.CommandAction(cmd, **kw)[source]#
Bases:
_ActionAction
Class for command-execution actions.
- _abc_impl = <_abc._abc_data object>#
- _get_implicit_deps_heavyweight(target, source, env, executor: Executor | None, icd_int)[source]#
Heavyweight dependency scanning involves scanning more than just the first entry in an action string. The exact behavior depends on the value of icd_int. Only files are taken as implicit dependencies; directories are ignored.
If icd_int is an integer value, it specifies the number of entries to scan for implicit dependencies. Action strings are also scanned after a &&. So for example, if icd_int=2 and the action string is “cd <some_dir> && $PYTHON $SCRIPT_PATH <another_path>”, the implicit dependencies would be the path to the python binary and the path to the script.
If icd_int is None, all entries are scanned for implicit dependencies.
- _get_implicit_deps_lightweight(target, source, env, executor: Executor | None)[source]#
Lightweight dependency scanning involves only scanning the first entry in an action string, even if it contains &&.
- batch_key(env, target, source)#
- execute(target, source, env, executor: Executor | None = None)[source]#
Execute a command action.
This will handle lists of commands as well as individual commands, because construction variable substitution may turn a single “command” into a list. This means that this class can actually handle lists of commands, even though that’s not how we use it externally.
- get_contents(target, source, env)#
- get_implicit_deps(target, source, env, executor: Executor | None = None)[source]#
Return the implicit dependencies of this action’s command line.
- get_presig(target, source, env, executor: Executor | None = None)[source]#
Return the signature contents of this action’s command line.
This strips $(-$) and everything in between the string, since those parts don’t affect signatures.
- get_targets(env, executor: Executor | None)#
Returns the type of targets ($TARGETS, $CHANGED_TARGETS) used by this action.
- no_batch_key(env, target, source)#
- presub_lines(env)#
- print_cmd_line(s, target, source, env) None #
In python 3, and in some of our tests, sys.stdout is a String io object, and it takes unicode strings only This code assumes s is a regular string.
- class SCons.Action.CommandGeneratorAction(generator, kw)[source]#
Bases:
ActionBase
Class for command-generator actions.
- _abc_impl = <_abc._abc_data object>#
- get_contents(target, source, env)#
- get_presig(target, source, env, executor: Executor | None = None)[source]#
Return the signature contents of this action’s command line.
This strips $(-$) and everything in between the string, since those parts don’t affect signatures.
- get_targets(env, executor: Executor | None)[source]#
Returns the type of targets ($TARGETS, $CHANGED_TARGETS) used by this action.
- no_batch_key(env, target, source)#
- presub_lines(env)#
- class SCons.Action.FunctionAction(execfunction, kw)[source]#
Bases:
_ActionAction
Class for Python function actions.
- _abc_impl = <_abc._abc_data object>#
- batch_key(env, target, source)#
- get_contents(target, source, env)#
- get_presig(target, source, env, executor: Executor | None = None)[source]#
Return the signature contents of this callable action.
- get_targets(env, executor: Executor | None)#
Returns the type of targets ($TARGETS, $CHANGED_TARGETS) used by this action.
- no_batch_key(env, target, source)#
- presub_lines(env)#
- print_cmd_line(s, target, source, env) None #
In python 3, and in some of our tests, sys.stdout is a String io object, and it takes unicode strings only This code assumes s is a regular string.
- class SCons.Action.LazyAction(var, kw)[source]#
Bases:
CommandGeneratorAction
,CommandAction
A LazyAction is a kind of hybrid generator and command action for strings of the form “$VAR”. These strings normally expand to other strings (think “$CCCOM” to “$CC -c -o $TARGET $SOURCE”), but we also want to be able to replace them with functions in the construction environment. Consequently, we want lazy evaluation and creation of an Action in the case of the function, but that’s overkill in the more normal case of expansion to other strings.
So we do this with a subclass that’s both a generator and a command action. The overridden methods all do a quick check of the construction variable, and if it’s a string we just call the corresponding CommandAction method to do the heavy lifting. If not, then we call the same-named CommandGeneratorAction method. The CommandGeneratorAction methods work by using the overridden _generate() method, that is, our own way of handling “generation” of an action based on what’s in the construction variable.
- _abc_impl = <_abc._abc_data object>#
- _get_implicit_deps_heavyweight(target, source, env, executor: Executor | None, icd_int)#
Heavyweight dependency scanning involves scanning more than just the first entry in an action string. The exact behavior depends on the value of icd_int. Only files are taken as implicit dependencies; directories are ignored.
If icd_int is an integer value, it specifies the number of entries to scan for implicit dependencies. Action strings are also scanned after a &&. So for example, if icd_int=2 and the action string is “cd <some_dir> && $PYTHON $SCRIPT_PATH <another_path>”, the implicit dependencies would be the path to the python binary and the path to the script.
If icd_int is None, all entries are scanned for implicit dependencies.
- _get_implicit_deps_lightweight(target, source, env, executor: Executor | None)#
Lightweight dependency scanning involves only scanning the first entry in an action string, even if it contains &&.
- batch_key(env, target, source)#
- execute(target, source, env, executor: Executor | None = None)#
Execute a command action.
This will handle lists of commands as well as individual commands, because construction variable substitution may turn a single “command” into a list. This means that this class can actually handle lists of commands, even though that’s not how we use it externally.
- get_contents(target, source, env)#
- get_implicit_deps(target, source, env, executor: Executor | None = None)[source]#
Return the implicit dependencies of this action’s command line.
- get_presig(target, source, env, executor: Executor | None = None)[source]#
Return the signature contents of this action’s command line.
This strips $(-$) and everything in between the string, since those parts don’t affect signatures.
- get_targets(env, executor: Executor | None)#
Returns the type of targets ($TARGETS, $CHANGED_TARGETS) used by this action.
- no_batch_key(env, target, source)#
- presub_lines(env)#
- print_cmd_line(s, target, source, env) None #
In python 3, and in some of our tests, sys.stdout is a String io object, and it takes unicode strings only This code assumes s is a regular string.
- process(target, source, env, executor=None, overrides: dict | None = None) Tuple[List, bool, bool] #
- class SCons.Action.ListAction(actionlist)[source]#
Bases:
ActionBase
Class for lists of other actions.
- _abc_impl = <_abc._abc_data object>#
- batch_key(env, target, source)#
- get_contents(target, source, env)#
- get_presig(target, source, env, executor: Executor | None = None)[source]#
Return the signature contents of this action list.
Simple concatenation of the signatures of the elements.
- get_targets(env, executor: Executor | None)#
Returns the type of targets ($TARGETS, $CHANGED_TARGETS) used by this action.
- no_batch_key(env, target, source)#
- class SCons.Action._ActionAction(cmdstr=<class 'SCons.Action._null'>, strfunction=<class 'SCons.Action._null'>, varlist=(), presub=<class 'SCons.Action._null'>, chdir=None, exitstatfunc=None, batch_key=None, targets: str = '$TARGETS', **kw)[source]#
Bases:
ActionBase
Base class for actions that create output objects.
- _abc_impl = <_abc._abc_data object>#
- batch_key(env, target, source)#
- get_contents(target, source, env)#
- get_targets(env, executor: Executor | None)#
Returns the type of targets ($TARGETS, $CHANGED_TARGETS) used by this action.
- no_batch_key(env, target, source)#
- presub_lines(env)#
- SCons.Action._actionAppend(act1, act2)[source]#
Joins two actions together.
Mainly, it handles ListActions by concatenating into a single ListAction.
- SCons.Action._callable_contents(obj) bytearray [source]#
Return the signature contents of a callable Python object.
- SCons.Action._code_contents(code, docstring=None) bytearray [source]#
Return the signature contents of a code object.
By providing direct access to the code object of the function, Python makes this extremely easy. Hooray!
Unfortunately, older versions of Python include line number indications in the compiled byte code. Boo! So we remove the line number byte codes to prevent recompilations from moving a Python function.
- See:
For info on what each co_ variable provides
The signature is as follows (should be byte/chars): co_argcount, len(co_varnames), len(co_cellvars), len(co_freevars), ( comma separated signature for each object in co_consts ), ( comma separated signature for each object in co_names ), ( The bytecode with line number bytecodes removed from co_code )
co_argcount - Returns the number of positional arguments (including arguments with default values). co_varnames - Returns a tuple containing the names of the local variables (starting with the argument names). co_cellvars - Returns a tuple containing the names of local variables that are referenced by nested functions. co_freevars - Returns a tuple containing the names of free variables. (?) co_consts - Returns a tuple containing the literals used by the bytecode. co_names - Returns a tuple containing the names used by the bytecode. co_code - Returns a string representing the sequence of bytecode instructions.
- SCons.Action._do_create_action(act, kw)[source]#
The internal implementation for the Action factory method.
This handles the fact that passing lists to
Action()
itself has different semantics than passing lists as elements of lists. The former will create aListAction
, the latter will create aCommandAction
by converting the inner list elements to strings.
- SCons.Action._do_create_keywords(args, kw)[source]#
This converts any arguments after the action argument into their equivalent keywords and adds them to the kw argument.
- SCons.Action._do_create_list_action(act, kw) ListAction [source]#
A factory for list actions.
Convert the input list act into Actions and then wrap them in a
ListAction
. If act has only a single member, return that member, not a ListAction. This is intended to allow a contained list to specify a command action without being processed into a list action.
- SCons.Action._function_contents(func) bytearray [source]#
Return the signature contents of a function.
The signature is as follows (should be byte/chars): < _code_contents (see above) from func.__code__ > ,( comma separated _object_contents for function argument defaults) ,( comma separated _object_contents for any closure contents )
- See also: https://docs.python.org/3/reference/datamodel.html
func.__code__ - The code object representing the compiled function body.
func.__defaults__ - A tuple containing default argument values for those arguments that have defaults, or None if no arguments have a default value
func.__closure__ - None or a tuple of cells that contain bindings for the function’s free variables.
- SCons.Action._object_contents(obj) bytearray [source]#
Return the signature contents of any Python object.
We have to handle the case where object contains a code object since it can be pickled directly.
- SCons.Action._object_instance_content(obj)[source]#
Returns consistant content for a action class or an instance thereof
- Parameters:
obj Should be either and action class or an instance thereof
- Returns:
bytearray or bytes representing the obj suitable for generating a signature from.
- SCons.Action._resolve_shell_env(env, target, source)[source]