def run_pipeline(source, options, full_module_name = None):
# Set up context
- context = Context(options.include_path, options.compiler_directives,
- options.cplus, options.language_level)
+ context = optons.create_context()
# Set up source object
cwd = os.getcwd()
self.__dict__.update(defaults)
self.__dict__.update(kw)
+ def create_context(self):
+ return Context(self.include_path, self.compiler_directives,
+ self.cplus, self.language_level)
+
class CompilationResult(object):
"""