MeshChatX/scripts/move_wheels.py

17 lines
364 B
Python
Raw Permalink Normal View History

# SPDX-License-Identifier: 0BSD
2026-07-17 10:43:20 -05:00
"""Move Poetry-built wheels from dist/ into python-dist/.
Avoids filename clashes with Electron build outputs.
2026-01-01 15:05:29 -06:00
"""
import shutil
from pathlib import Path
dist = Path("dist")
target = Path("python-dist")
target.mkdir(parents=True, exist_ok=True)
for wheel in dist.glob("*.whl"):
shutil.move(str(wheel), target / wheel.name)