Skip to content

Commit

Permalink
be more careful when getting value for 'buildcmd' custom easyconfig p…
Browse files Browse the repository at this point in the history
…arameter in PythonPackage easyblock, to avoid error due to '%(python)s' template not being resolvable
  • Loading branch information
boegel committed Dec 19, 2024
1 parent 46e847c commit 346ecb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion easybuild/easyblocks/generic/pythonpackage.py
Original file line number Diff line number Diff line change
Expand Up @@ -818,7 +818,7 @@ def configure_step(self):

def build_step(self):
"""Build Python package using setup.py"""
build_cmd = self.cfg['buildcmd']
build_cmd = self.cfg.get_ref('buildcmd')
if self.use_setup_py:

if get_software_root('CMake'):
Expand Down

0 comments on commit 346ecb4

Please sign in to comment.