Update compileall.py

This commit is contained in:
blueloveTH 2026-01-05 19:56:45 +08:00
parent 134144e6fa
commit 3bac59701b

View File

@ -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