19 lines
537 B
PowerShell
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
|
||
|
|
}
|