easybuild.framework.extensioneasyblock module

EasyBuild support for building and installing extensions as actual extensions or as stand-alone modules, implemented as an easyblock

author:Kenneth Hoste (Ghent University)
class easybuild.framework.extensioneasyblock.ExtensionEasyBlock(*args, **kwargs)

Bases: easybuild.framework.easyblock.EasyBlock, easybuild.framework.extension.Extension

Install an extension as a separate module, or as an extension.

Deriving classes should implement the following functions: * required EasyBlock functions:

  • configure_step
  • build_step
  • install_step
  • required Extension functions - run
static extra_options(extra_vars=None)

Extra easyconfig parameters specific to ExtensionEasyBlock.

make_module_extra(extra=None)

Add custom entries to module.

run(unpack_src=False)

Common operations for extensions: unpacking sources, patching, ...

sanity_check_step(exts_filter=None, custom_paths=None, custom_commands=None)

Custom sanity check for extensions, whether installed as stand-alone module or not