diff --git a/easybuild/easyblocks/generic/cargopythonbundle.py b/easybuild/easyblocks/generic/cargopythonbundle.py index 090a38dff4..d76ccde612 100644 --- a/easybuild/easyblocks/generic/cargopythonbundle.py +++ b/easybuild/easyblocks/generic/cargopythonbundle.py @@ -53,6 +53,10 @@ def __init__(self, *args, **kwargs): self.check_for_sources = False # make Bundle allow sources (as crates are treated as sources) super(CargoPythonBundle, self).__init__(*args, **kwargs) + # Cargo inherits from ExtensionEasyBlock, thus EB treats the software itself as an extension + # Setting modulename to False to ensure that sanity checks are performed on the extensions only + self.options = {'modulename': False} + def extract_step(self): """Specifically use the overloaded variant from Cargo as is populates vendored sources with checksums.""" return Cargo.extract_step(self)