setup global variables
Declares global symbols for use in FLASH setup
-
exception flash.flmake.setup_globals.SetupError[source]
Class for SetupError Exception
-
class flash.flmake.setup_globals.IndentedOutput(num_spaces=4, file=None, debuglevel=50)[source]
Pretty printing class
-
pop(numLevs=1)[source]
Remove numLevs indentation levels
-
class flash.flmake.setup_globals.SetupVarsClass[source]
Handle setup variables
-
addunit(unitname, val=False)[source]
Add a with variable for toplevel unit of specified unit.
-
set(key, value)[source]
Set key to value, value may be a quoted string
-
printvars(file, ignoreprefix='with')[source]
File is a file object opened for writing.
-
class flash.flmake.setup_globals.GVarsClass[source]
Stores Global variables (visible to most of the code). Also includes parsed version of
command line options
-
get_top_unit_names(path=None, ignoreUnits=('flashUtilities', ), init_path=None)[source]
Return the list of all top level unit names.
path may be a list of str, a str, or None. When None (default)
the value from self.source_path is taken.