Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 17 lines (11 sloc) 0.366 kb
#!/usr/bin/env python
"""
Compile a Python script into an executable that embeds CPython and run it.
Requires CPython to be built as a shared library ('libpythonX.Y').
Basic usage:
python cythonrun somefile.py [ARGS]
"""
from Cython.Build.BuildExecutable import build, build_and_run
if __name__ == '__main__':
import sys
build_and_run(sys.argv[1:])
Jump to Line
Something went wrong with that request. Please try again.