1#!/usr/bin/env python 2 3""" 4Compile a Python script into an executable that embeds CPython and run it. 5Requires CPython to be built as a shared library ('libpythonX.Y'). 6 7Basic usage: 8 9 python cythonrun somefile.py [ARGS] 10""" 11 12from Cython.Build.BuildExecutable import build, build_and_run 13 14if __name__ == '__main__': 15 import sys 16 build_and_run(sys.argv[1:]) 17