Skip to content

Commit

Permalink
replace concatenation with f-string in PythonPackage easyblock
Browse files Browse the repository at this point in the history
  • Loading branch information
lexming authored Dec 19, 2024
1 parent ea31440 commit 51ce299
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 @@ -833,7 +833,7 @@ def build_step(self):

if not build_cmd:
build_cmd = 'build' # Default value for setup.py
build_cmd = self.python_cmd + ' setup.py ' + build_cmd
build_cmd = f"{self.python_cmd} setup.py {build_cmd}"

if build_cmd:
cmd = ' '.join([self.cfg['prebuildopts'], build_cmd, self.cfg['buildopts']])
Expand Down

0 comments on commit 51ce299

Please # to comment.