mozjs_sys 0.67.1

System crate for the Mozilla SpiderMonkey JavaScript engine.
1
2
3
4
5
6
7
8
9
10
11
12
"""
Generates an executable with pytest runner embedded using PyInstaller.
"""
if __name__ == "__main__":
    import pytest
    import subprocess

    hidden = []
    for x in pytest.freeze_includes():
        hidden.extend(["--hidden-import", x])
    args = ["pyinstaller", "--noconfirm"] + hidden + ["runtests_script.py"]
    subprocess.check_call(" ".join(args), shell=True)