emscripten/emcc

14 строки
260 B
Python
Executable File

#!/usr/bin/env python
# This script should work in python 2 *or* 3. It loads emcc.py, which needs python 2.
import sys
if sys.version_info.major == 2:
import emcc
emcc.run()
else:
import subprocess
sys.exit(subprocess.call(['python2'] + sys.argv))