VT-PR/make.ps1
chu23465 5b88624051 PyInstaller support
Currently builds but errors while executing
2025-04-16 16:09:35 +05:30

15 lines
422 B
PowerShell

# Tip: add argument `run` to directly run after build for fast testing
Write-Output 'Creating Python Wheel package via Poetry'
& 'poetry' build -f wheel
Write-Output 'Building to self-contained folder/app via PyInstaller'
& 'poetry' run python pyinstaller.py
if ($args[0] -eq 'run') {
& 'dist/vinetrimmer/vinetrimmer.exe' ($args | Select-Object -Skip 1)
exit
}
Write-Output 'Done! See /dist for output files.'