Skip to content

entrypoints

Python module to manage entry points for EasyBuild.

Authors:

  • Davide Grassano (CECAM)

EasybuildEntrypoint

__call__(wrap)

Use an instance of this class as a decorator to register an entrypoint.

clear() staticmethod

Clear the registered entrypoints. Used for testing when the same entrypoint is loaded multiple times from different temporary directories.

get_loaded_entrypoints(name=None, **filter_params) classmethod

Get all entrypoints in this group.

load_entrypoints() classmethod

Load all the entrypoints in this group. This is needed for the modules contining the entrypoints to be actually imported in order to process the function decorators that will register them in the registered dict.

retrieve_entrypoints() classmethod

"Get all entrypoints in this group.

validate()

Validate the entrypoint.

EntrypointEasyblock

Bases: EasybuildEntrypoint

Class to represent an easyblock entrypoint.

EntrypointHook

Bases: EasybuildEntrypoint

Class to represent a hook entrypoint.

__init__(step, pre_step=False, post_step=False, priority=0)

Initialize the EntrypointHook.

validate()

Validate the hook entrypoint.

EntrypointToolchain

Bases: EasybuildEntrypoint

Class to represent a toolchain entrypoint.