Skip to content

Commit 7d21090

Browse files
committed
Amend macos wheel script
1 parent 7730117 commit 7d21090

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/wheels/install.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ def download_wheels(wheels: list[dict], tmp_dir: Path):
101101

102102
def install_all(tmp_dir: Path):
103103
wheels = list(tmp_dir.glob("*.whl")) + list(tmp_dir.glob("*.tar.gz"))
104+
if not wheels:
105+
return
104106
cmd = [sys.executable, "-m", "pip", "install", "--force-reinstall"]
105107
cmd.extend(wheel.name for wheel in wheels)
106108
print("Running:", " ".join(cmd))

0 commit comments

Comments
 (0)