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.

author:Stijn De Weirdt (Ghent University)
author:Dries Verdegem (Ghent University)
author:Kenneth Hoste (Ghent University)
author:Pieter De Baets (Ghent University)
author:Jens Timmerman (Ghent University)
author:Toon Willems (Ghent University)
class easybuild.framework.extension.Extension(mself, ext, extra_params=None)

Bases: object

Support for installing extensions.

name

Shortcut the get the extension name.

postrun()

Stuff to do after installing a extension.

prerun()

Stuff to do before installing a extension.

run()

Actual installation of a 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