12 lines
285 B
PowerShell
12 lines
285 B
PowerShell
$ErrorActionPreference = "Stop"
|
|
|
|
if (-not (Test-Path ".\.venv\Scripts\python.exe")) {
|
|
python -m venv .venv
|
|
}
|
|
|
|
.\.venv\Scripts\python.exe -m pip install -r requirements.txt
|
|
.\.venv\Scripts\python.exe -m PyInstaller `
|
|
--clean `
|
|
--noconfirm `
|
|
packaging\PDFReaderLite.spec
|