Just Fixes

This commit is contained in:
RohitHuge 2026-06-03 19:51:08 +05:30
parent acc2ef9e96
commit 348bc2d1d3
8 changed files with 514 additions and 14 deletions

View file

@ -27,7 +27,7 @@ if (-not (Get-Command $PythonBin -ErrorAction SilentlyContinue)) {
exit 1
}
$PyMajMin = & $PythonBin -c 'import sys; print(f"{sys.version_info.major}.{sys.version_info.minor}")'
$PyMajMin = & $PythonBin -c 'import sys; print(sys.version_info.major, sys.version_info.minor, sep=chr(46))'
if ($PyMajMin -ne '3.12' -and $PyMajMin -ne '3.13') {
$PyPath = (Get-Command $PythonBin).Source
Write-Error "Python 3.12 or 3.13 required, found $PyMajMin at $PyPath. Activate a venv built with python3.12 or python3.13 and retry."