Add fallback to python3 in amalgamate.py

This commit is contained in:
Felföldy Tibor 2025-01-25 18:32:59 +01:00
parent c3646b65ad
commit ddeda78478

View File

@ -5,7 +5,8 @@ import sys
import time import time
from typing import List, Dict from typing import List, Dict
assert os.system("python prebuild.py") == 0 if os.system("python prebuild.py") != 0:
assert os.system("python3 prebuild.py") == 0
ROOT = 'include/pocketpy' ROOT = 'include/pocketpy'
PUBLIC_HEADERS = ['config.h', 'export.h', 'linalg.h', 'pocketpy.h'] PUBLIC_HEADERS = ['config.h', 'export.h', 'linalg.h', 'pocketpy.h']