Files
Medios-Macina/scripts/setup.ps1
nose faa10c2d37 jj
2025-12-17 14:17:46 -08:00

19 lines
537 B
PowerShell

# scripts/setup.ps1 - DEPRECATED wrapper that calls the Python setup script
$ErrorActionPreference = 'Stop'
# Determine repository root (one level up from script directory)
$scriptDir = Split-Path -Parent $MyInvocation.MyCommand.Path
$repoRoot = Resolve-Path (Join-Path $scriptDir '..')
Push-Location $repoRoot
try {
Write-Host "Calling Python setup script (scripts/setup.py)..."
python ./scripts/setup.py @args
} catch {
Write-Error "Failed to run python ./scripts/setup.py: $_"
exit 1
} finally {
Pop-Location
}