Prepare Windows portable packaging

This commit is contained in:
2026-09-03 12:32:35 -04:00
parent 6d0a23a72e
commit bbb369b65b
6 changed files with 110 additions and 4 deletions
+13
View File
@@ -0,0 +1,13 @@
$ErrorActionPreference = "Stop"
Write-Host "Creating or reusing the DataLoom Windows build environment..."
if (-not (Test-Path ".venv\\Scripts\\python.exe")) {
py -3 -m venv .venv
}
& .venv\\Scripts\\python.exe -m pip install --upgrade pip
& .venv\\Scripts\\python.exe -m pip install -e ".[build,test]"
& .venv\\Scripts\\python.exe -m pytest -q
& .venv\\Scripts\\python.exe -m PyInstaller --clean --noconfirm DataLoom.spec
Write-Host "Portable executable created at dist\\DataLoom.exe"