mirror of
https://github.com/pocketpy/pocketpy
synced 2026-02-04 06:30:17 +00:00
Update compileall.py
This commit is contained in:
parent
134144e6fa
commit
3bac59701b
@ -11,7 +11,6 @@ output_dir = sys.argv[3]
|
|||||||
|
|
||||||
def do_compile(src_path, dst_path):
|
def do_compile(src_path, dst_path):
|
||||||
assert os.path.isfile(src_path)
|
assert os.path.isfile(src_path)
|
||||||
assert os.path.isfile(dst_path)
|
|
||||||
cmd = f'{pkpy_exe} --compile "{src_path}" "{dst_path}"'
|
cmd = f'{pkpy_exe} --compile "{src_path}" "{dst_path}"'
|
||||||
print(src_path)
|
print(src_path)
|
||||||
assert os.system(cmd) == 0
|
assert os.system(cmd) == 0
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user