fer
Some checks failed
smoke-mm / Install & smoke test mm --help (push) Has been cancelled

This commit is contained in:
nose
2025-12-24 04:14:11 -08:00
parent 7c8b0edb5c
commit 29b8341f72
3 changed files with 42 additions and 152 deletions

View File

@@ -249,8 +249,8 @@ def main() -> int:
out = _sub.check_output(cmd, text=True).strip().splitlines()
site_dir = None
for sp in out:
if sp and _Path(sp).exists():
site_dir = _Path(sp)
if sp and Path(sp).exists():
site_dir = Path(sp)
break
if site_dir is None:
print("Could not determine venv site-packages directory; skipping .pth fallback")