Module Expr Str Assign NameStore Str Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias Import alias alias Import alias Assign NameStore ListLoad Str Str Str Str Str Str Str Str Str FunctionDef arguments args NameParam NameParam NameParam defaults vararg kwarg body Expr Str If UnaryOpNot NameLoad body Assign NameStore NameLoad Assign NameStore NameLoad orelse Assign NameStore NameLoad If NameLoad body Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Index Num Str If BoolOpAnd CompareEq Call NameLoad NameLoad Num CompareEq Call NameLoad NameLoad Num body Raise NameLoad Str For NameStore NameLoad body Assign SubscriptStore NameLoad Index NameLoad Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore ListLoad NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If CompareNotEq SubscriptLoad NameLoad Slice Num Str body Assign NameStore BinOpAdd Str NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad kwarg body Expr Str If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If CompareEq Call NameLoad NameLoad Num body Raise NameLoad Str TryExcept body Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str handlers ExceptHandler type NameLoad body Pass If UnaryOpNot Call AttributeLoad NameLoad attr Str body ImportFrom alias Assign SubscriptStore NameLoad Index Str Call NameLoad Str If CompareEq SubscriptLoad NameLoad Index Str NameLoad body If Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str body Assign SubscriptStore NameLoad Index Str Str orelse If Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str body Assign SubscriptStore NameLoad Index Str Str orelse Raise NameLoad Str Assign NameStore SubscriptLoad NameLoad Index Str If UnaryOpNot Call NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str FunctionDef arguments args NameParam defaults body TryExcept body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad Call NameLoad NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad TryExcept body If UnaryOpNot NameLoad body Assign NameStore ListLoad Assign NameStore BinOpSub Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore Str If CompareGt NameLoad Num body Assign NameStore BinOpMod NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMult ListLoad NameLoad NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr Str body Assign SubscriptStore NameLoad Index Str BinOpMod NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListLoad TryExcept body For NameStore NameLoad body Assign NameStore ListLoad Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad AttributeLoad NameLoad attr ListLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assert CompareEq Call NameLoad NameLoad Num handlers ExceptHandler type NameLoad name NameStore body Raise Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Num AttributeLoad NameLoad attr ExceptHandler type NameLoad name NameStore body ImportFrom alias Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr If CompareNotEq NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Slice UnaryOpUSub Call NameLoad NameLoad Expr Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad Str attr Assign NameStore Call NameLoad Lambda arguments args NameParam NameParam defaults NameLoad UnaryOpNot Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareEq Call NameLoad NameLoad Num body Raise orelse If CompareEq Call NameLoad NameLoad Num body Raise Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr orelse Raise Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad Call AttributeLoad Str attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad Return NameLoad decorator_list Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body ImportFrom alias Global identifier If UnaryOpNot NameLoad body Assign NameStore Num Expr Call NameLoad Str keyword Str keyword NameLoad keyword Str keyword Str keyword Str TryExcept body Expr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str handlers ExceptHandler type NameLoad body Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Str Str NameLoad keyword Call NameLoad NameLoad NameLoad keyword Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Lambda arguments args NameParam NameParam defaults NameLoad BoolOpAnd UnaryOpNot Call NameLoad NameLoad NameLoad CompareEq SubscriptLoad NameLoad Slice Num Str Assign NameStore Call NameLoad NameLoad Call NameLoad NameLoad For NameStore NameLoad body Expr Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Num body Expr Str If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore ListLoad NameLoad Assign NameStore ListLoad For NameStore NameLoad body If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse If BoolOpAnd Call NameLoad NameLoad Str NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr orelse Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Index Num Expr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Return UnaryOpNot BoolOpAnd Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str BoolOpOr CompareEq AttributeLoad AttributeLoad NameLoad attr attr Str CompareEq AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list If Call NameLoad Call NameLoad NameLoad NameLoad body Expr Call NameLoad NameLoad Str Assign NameStore ListLoad For NameStore NameLoad body If Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad Str Call AttributeLoad NameLoad attr Return TupleLoad NameLoad NameLoad decorator_list
N/A N/A SCons.Tool.Packaging

SCons Packaging Tool.
 N/A __revision__ src/engine/SCons/Tool/packaging/__init__.py 3897 2009/01/13 06:45:54 scons N/A SCons.Environment SCons.Variables * SCons.Errors * SCons.Util is_List make_path_relative SCons.Warnings warn Warning N/A os imp N/A SCons.Defaults N/A __all__ N/A src_targz src_tarbz2 src_zip tarbz2 targz zip rpm msi ipk Tag N/A N/A env target source N/A more_tags kw_tags N/A N/A  Tag a file with the given arguments, just sets the accordingly named
    attribute on the file object.

    TODO: FIXME
     N/A N/A target N/A N/A target source N/A first_tag None N/A N/A first_tag source N/A first_tag N/A N/A N/A kw_tags N/A N/A first_tag N/A 0 N/A N/A N/A N/A len kw_tags 0 N/A N/A len more_tags 0 N/A N/A UserError No tags given. N/A x more_tags N/A N/A N/A kw_tags N/A x N/A N/A N/A N/A N/A SCons Util is_List target N/A N/A target N/A target N/A N/A target N/A N/A env Flatten target N/A t target N/A N/A N/A k v N/A N/A kw_tags items N/A N/A N/A N/A k N/A 10 PACKAGING_ N/A N/A k N/A PACKAGING_ k N/A N/A setattr t k v N/A Package N/A N/A env target source N/A None None kw N/A N/A  Entry point for the package tool.
     N/A N/A source N/A N/A source N/A N/A env FindInstalledFiles N/A N/A N/A len source 0 N/A N/A UserError No source for Package() given N/A N/A N/A N/A kw N/A PACKAGETYPE N/A env N/A PACKAGETYPE N/A N/A N/A KeyError N/A N/A N/A N/A N/A N/A kw get PACKAGETYPE N/A SCons.Script GetOption N/A N/A kw N/A PACKAGETYPE N/A GetOption package_type N/A N/A N/A kw N/A PACKAGETYPE None N/A N/A N/A N/A N/A env N/A BUILDERS has_key Tar N/A N/A N/A kw N/A PACKAGETYPE targz N/A N/A N/A N/A N/A env N/A BUILDERS has_key Zip N/A N/A N/A kw N/A PACKAGETYPE zip N/A N/A UserError No type for Package() given N/A PACKAGETYPE N/A kw N/A PACKAGETYPE N/A N/A N/A is_List PACKAGETYPE N/A N/A PACKAGETYPE N/A N/A string split PACKAGETYPE , load_packager N/A N/A type N/A N/A N/A N/A N/A N/A file path desc N/A N/A imp find_module type __path__ N/A N/A N/A imp load_module type file path desc N/A N/A N/A ImportError N/A e N/A N/A N/A EnvironmentError N/A packager %s not available: %s N/A type N/A str e N/A N/A packagers N/A map load_packager PACKAGETYPE N/A N/A N/A N/A target N/A N/A target N/A N/A size_diff N/A N/A len PACKAGETYPE N/A len target N/A default_name %(NAME)s-%(VERSION)s N/A N/A size_diff 0 N/A N/A default_target N/A default_name kw N/A N/A N/A target extend N/A N/A default_target size_diff N/A N/A N/A N/A kw has_key PACKAGEROOT N/A N/A N/A kw N/A PACKAGEROOT N/A default_name kw N/A N/A N/A KeyError N/A e N/A N/A N/A N/A N/A SCons Errors UserError N/A Missing Packagetag '%s' N/A N/A e args N/A 0 N/A source N/A N/A env arg2nodes source N/A N/A env fs Entry N/A targets N/A N/A N/A N/A packager packagers N/A N/A t N/A N/A N/A target pop 0 N/A t N/A apply N/A packager package N/A env t source kw N/A N/A N/A targets extend t N/A N/A N/A len target 0 N/A N/A N/A KeyError N/A e N/A N/A N/A N/A N/A SCons Errors UserError N/A Missing Packagetag '%s' for %s packager N/A N/A N/A e args N/A 0 N/A packager __name__ N/A N/A TypeError N/A e N/A inspect getargspec N/A N/A args varargs varkw defaults N/A getargspec N/A packager package N/A N/A defaults None N/A N/A args N/A args N/A N/A N/A len defaults N/A N/A map N/A args remove N/A N/A env target source split N/A args N/A filter N/A N/A N/A x kw N/A kw N/A N/A N/A kw has_key x args N/A N/A N/A len args 0 N/A N/A N/A N/A N/A N/A len args 1 N/A N/A N/A N/A N/A SCons Errors UserError N/A Missing Packagetag '%s' for %s packager N/A N/A args N/A 0 N/A packager __name__ N/A N/A N/A N/A N/A SCons Errors UserError N/A Missing Packagetags '%s' for %s packager N/A N/A N/A ,  join args N/A packager __name__ N/A target N/A N/A env arg2nodes target N/A N/A env fs Entry N/A N/A N/A targets extend N/A N/A env Alias package targets N/A targets N/A N/A added None generate N/A N/A env N/A N/A SCons.Script AddOption N/A added N/A N/A added N/A N/A added 1 N/A N/A AddOption --package-type dest package_type default None type string action store help The type of package to create. N/A N/A N/A N/A N/A env N/A BUILDERS N/A Package N/A N/A N/A env N/A BUILDERS N/A Tag N/A N/A N/A KeyError N/A N/A N/A N/A env N/A BUILDERS N/A Package Package N/A N/A N/A env N/A BUILDERS N/A Tag Tag N/A exists N/A N/A env N/A N/A N/A 1 N/A options N/A N/A opts N/A N/A N/A N/A N/A opts AddVariables N/A EnumVariable PACKAGETYPE the type of package to create. None allowed_values N/A map str __all__ ignorecase 2 N/A copy_attr N/A N/A f1 f2 N/A N/A N/A  copies the special packaging file attributes from f1 to f2.
     N/A copyit N/A N/A N/A x f2 N/A f2 N/A N/A N/A hasattr f2 x N/A N/A x N/A 10 PACKAGING_ N/A pattrs N/A filter copyit N/A dir f1 N/A attr pattrs N/A N/A N/A setattr f2 attr N/A getattr f1 attr N/A putintopackageroot N/A N/A target source env pkgroot honor_install_location N/A 1 N/A N/A  Uses the CopyAs builder to copy all source files to the directory given
    in pkgroot.

    If honor_install_location is set and the copied source file has an
    PACKAGING_INSTALL_LOCATION attribute, the PACKAGING_INSTALL_LOCATION is
    used as the new name of the source file under pkgroot.

    The source file will not be copied if it is already under the the pkgroot
    directory.

    All attributes of the source file will be copied to the new file.
     N/A N/A N/A N/A SCons Util is_String pkgroot N/A N/A pkgroot N/A N/A env Dir pkgroot N/A N/A N/A N/A N/A SCons Util is_List source N/A N/A source N/A source N/A new_source N/A N/A file source N/A N/A N/A N/A N/A SCons Util is_String file N/A N/A file N/A N/A env File file N/A N/A N/A file is_under pkgroot N/A N/A N/A N/A new_source append file N/A N/A N/A N/A hasattr file PACKAGING_INSTALL_LOCATION honor_install_location N/A N/A new_name N/A make_path_relative N/A file PACKAGING_INSTALL_LOCATION N/A N/A new_name N/A make_path_relative N/A N/A file get_path N/A new_file N/A N/A pkgroot File new_name N/A new_file N/A N/A N/A env CopyAs new_file file N/A 0 N/A N/A copy_attr file new_file N/A N/A N/A new_source append new_file N/A N/A target new_source N/A stripinstallbuilder N/A N/A target source env N/A N/A N/A  strips the install builder action from the source list and stores
    the final installation location as the "PACKAGING_INSTALL_LOCATION" of
    the source of the source file. This effectively removes the final installed
    files from the source list while remembering the installation location.

    It also warns about files which have no install builder attached.
     has_no_install_location N/A N/A file N/A N/A N/A N/A N/A N/A N/A file has_builder N/A hasattr N/A file builder name N/A N/A N/A N/A file builder name InstallBuilder N/A N/A N/A file builder name InstallAsBuilder N/A N/A N/A len N/A filter has_no_install_location source N/A N/A N/A warn Warning there are files to package which have no        InstallBuilder attached, this might lead to irreproducible packages N/A n_source N/A N/A s source N/A N/A N/A has_no_install_location s N/A N/A N/A N/A n_source append s N/A N/A ss N/A s sources N/A N/A N/A N/A n_source append ss N/A N/A copy_attr s ss N/A N/A setattr ss PACKAGING_INSTALL_LOCATION N/A N/A s get_path N/A N/A target n_source N/A