14 lines
324 B
Python
14 lines
324 B
Python
"""Move Poetry-built wheels from dist/ to python-dist/ to avoid conflicts
|
|
with Electron build artifacts.
|
|
"""
|
|
|
|
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)
|