easybuild.framework.extension module¶
Generic EasyBuild support for software extensions (e.g. Python packages). The Extension class should serve as a base class for all extensions.
Authors:
- Stijn De Weirdt (Ghent University)
- Dries Verdegem (Ghent University)
- Kenneth Hoste (Ghent University)
- Pieter De Baets (Ghent University)
- Jens Timmerman (Ghent University)
- Toon Willems (Ghent University)
-
class
easybuild.framework.extension.Extension(mself, ext, extra_params=None)¶ Bases:
objectSupport for installing extensions.
-
async_cmd_check()¶ Check progress of installation command that was started asynchronously.
Returns: True if command completed, False otherwise
-
async_cmd_start(cmd, inp=None)¶ Start installation asynchronously using specified command.
-
name¶ Shortcut the get the extension name.
-
postrun()¶ Stuff to do after installing a extension.
-
prerun()¶ Stuff to do before installing a extension.
-
required_deps¶ Return list of required dependencies for this extension.
-
run(*args, **kwargs)¶ Actual installation of an extension.
-
run_async(*args, **kwargs)¶ Asynchronous installation of an extension.
-
sanity_check_step()¶ Sanity check to run after installing extension
-
toolchain¶ Toolchain used to build this extension.
-
version¶ Shortcut the get the extension version.
-
-
easybuild.framework.extension.resolve_exts_filter_template(exts_filter, ext)¶ Resolve the exts_filter tuple by replacing the template values using the extension :param exts_filter: Tuple of (command, input) using template values (ext_name, ext_version, src) :param ext: Instance of Extension or dictionary like with ‘name’ and optionally ‘options’, ‘version’, ‘source’ keys :return: (cmd, input) as a tuple of strings