From 0bf694afcf1d933831c79a242104a54771c99039 Mon Sep 17 00:00:00 2001 From: Robert Bradshaw Date: Tue, 21 Apr 2009 01:38:25 -0700 Subject: [PATCH] Embed flag for Cython modules --- Cython/Compiler/CmdLine.py | 4 ++++ Cython/Compiler/ModuleNode.py | 22 ++++++++++++++++++++++ Cython/Compiler/Options.py | 5 +++++ 3 files changed, 31 insertions(+) diff --git a/Cython/Compiler/CmdLine.py b/Cython/Compiler/CmdLine.py index 2c8ed428..f48cfb58 100644 --- a/Cython/Compiler/CmdLine.py +++ b/Cython/Compiler/CmdLine.py @@ -38,6 +38,7 @@ Options: -a, --annotate Produce a colorized HTML version of the source. --line-directives Produce #line directives pointing to the .pyx source --cplus Output a c++ rather than c file. + --embed Embed the Python interpreter in a main() method. --directive =[,