evariste.builder
¶
Build process: gather files, and compile them.
- class evariste.builder.Builder(setup)[source]¶
Takes care of build process. Can be used as a context.
Object that is shared and accessible by every
evariste.plugins.Plugin
andevariste.tree.Tree
. See Plugin.shared.
- cache: evariste.cache.Cache¶
Data that is cached between compilations. Plugin developpers won’t manipulate this attribute directly (see Plugin.shared).
- plugins: evariste.plugins.Loader¶
Plugin loader: loaded plugins are gathered there.
- close()[source]¶
Perform close operations.
Mainly used as a Method hooks.
- classmethod from_setupdict(dictionary: Dict[str, Dict[str, str]]) Builder [source]¶
Factory that returns a builder, given a setup dictionary.
A setup dictionary is a dict that mimics
configparser
structure.
- classmethod from_setupname(name: str) Builder [source]¶
Factory that returns a builder, given the name of a setup file.