CCText/scripts/Setup.ps1
2024-04-11 23:25:09 +03:00

11 lines
286 B
PowerShell

Set-Location $PSScriptRoot\..
$python = '.\venv\Scripts\python.exe'
$env = '.\venv'
if (Test-Path -Path $python -PathType Leaf) {
Remove-Item $env -Recurse -Force
}
& 'python' -m venv .\venv
& $python -m pip install --upgrade pip
& $python -m pip install -r requirements-build.txt