[xb] Remove useless version check

The version is already checked in xenia-build.
Add an actually useful 64-bit check.
This commit is contained in:
Margen67
2025-07-28 11:02:01 -07:00
parent fe0e18466f
commit 0b81604633
4 changed files with 12 additions and 40 deletions

View File

@@ -139,8 +139,8 @@ def main():
# Check python version.
python_minimum_ver = 3,9
if not sys.version_info[:2] >= (python_minimum_ver[0], python_minimum_ver[1]):
print(f"ERROR: Python {python_minimum_ver[0]}.{python_minimum_ver[1]} must be installed and on PATH")
if not sys.version_info[:2] >= (python_minimum_ver[0], python_minimum_ver[1]) or not sys.maxsize > 2**32:
print(f"ERROR: Python {python_minimum_ver[0]}.{python_minimum_ver[1]}+ 64-bit must be installed and on PATH")
sys.exit(1)
# Grab Visual Studio version and execute shell to set up environment.