Skip to content

Commit

Permalink
fix some log-messages in setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tazend committed Jan 23, 2024
1 parent 634510b commit 6cfcec7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def _find_lib(self, lib_dir):
if not lib.exists():
raise RuntimeError(f"Cannot locate Slurm library in {lib_dir}")

print(f"Found {SLURM_LIB} library in {self.lib_dir}")
print(f"Found {SLURM_LIB} library in {lib}")
return lib_dir

@property
Expand Down Expand Up @@ -161,7 +161,8 @@ def check_version(self):

if Version(self.version) != Version(SLURM_VERSION):
raise RuntimeError(
f"Incorrect Slurm version detected, requires Slurm {SLURM_VERSION}"
"Slurm version mismatch: "
f"requires Slurm {SLURM_VERSION}, found {self.version}"
)


Expand Down

0 comments on commit 6cfcec7

Please sign in to comment.