Skip to content

Commit

Permalink
Capitalize Python
Browse files Browse the repository at this point in the history
  • Loading branch information
bedroge committed Sep 6, 2024
1 parent 71c4adc commit df1148c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions easybuild/easyblocks/generic/pythonpackage.py
Original file line number Diff line number Diff line change
Expand Up @@ -511,14 +511,14 @@ def prepare_python(self):
# if using system Python, go hunting for a 'python' command that satisfies the requirements
python = pick_python_cmd(req_maj_ver=req_py_majver, req_min_ver=req_py_minver)

# Check if we have python by now. If not, and if self.require_python, raise a sensible error
# Check if we have Python by now. If not, and if self.require_python, raise a sensible error
if python:
self.python_cmd = python
self.log.info("Python command being used: %s", self.python_cmd)
elif self.require_python:
if req_py_majver is not None or req_py_minver is not None:
raise EasyBuildError(
"Failed to pick python command that satisfies requirements in the EasyConfigs "
"Failed to pick Python command that satisfies requirements in the easyconfig "
"(req_py_majver = %s, req_py_minver = %s)", req_py_majver, req_py_minver
)
else:
Expand Down

0 comments on commit df1148c

Please sign in to comment.