mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-21 20:10:17 +00:00
Add fallback to python3 in amalgamate.py
This commit is contained in:
parent
c3646b65ad
commit
ddeda78478
@ -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']
|
||||||
|
Loading…
x
Reference in New Issue
Block a user