easybuild.framework.easyconfig.templates module¶
Easyconfig templates module that provides templating that can be used within an Easyconfig file.
author: | Stijn De Weirdt (Ghent University) |
---|---|
author: | Fotis Georgatos (Uni.Lu, NTUA) |
-
easybuild.framework.easyconfig.templates.
template_constant_dict
(config, ignore=None, skip_lower=True)¶ Create a dict for templating the values in the easyconfigs. - config is a dict with the structure of EasyConfig._config
-
easybuild.framework.easyconfig.templates.
template_documentation
()¶ Generate the templating documentation
-
easybuild.framework.easyconfig.templates.
to_template_str
(value, templ_const, templ_val)¶ - Insert template values where possible
- value is a string
- templ_const is a dictionary of template strings (constants)
- templ_val is an ordered dictionary of template strings specific for this easyconfig file