Skip to content

Commit

Permalink
find.exe: log debug
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Sep 6, 2023
1 parent b9c73f5 commit 2bc7d34
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,6 @@ show_column_numbers = true

[tool.pytest.ini_options]
log_cli = true
log_cli_level = "WARNING"
log_cli_level = "DEBUG"
log_cli_format = "%(levelname)s"
addopts = "--ignore=archive/"
2 changes: 2 additions & 0 deletions src/gemini3d/find.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import shutil
import os
import subprocess
import logging

import numpy as np

Expand Down Expand Up @@ -60,6 +61,7 @@ def executable(name: str, root: Path | None = None) -> Path:
p = Path(p).expanduser()

for n in EXE_PATHS:
logging.debug(f"searching {p / n} for {name}")
if wsl.is_wsl_path(p):
# shutil.which() doesn't work on WSL paths
pexe = p / n / name
Expand Down

0 comments on commit 2bc7d34

Please sign in to comment.