mirror of
https://github.com/Quad4-Software/MeshChatX.git
synced 2026-08-18 09:49:09 -04:00
16 lines
372 B
Python
16 lines
372 B
Python
# SPDX-License-Identifier: 0BSD
|
|
|
|
"""Move Poetry-built wheels from ``dist/`` into ``python-dist/``.
|
|
|
|
Avoids filename clashes with Electron build outputs.
|
|
"""
|
|
|
|
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)
|