From 0a930f3fde42da201b8b9994404adece5c0e4347 Mon Sep 17 00:00:00 2001 From: William Stein Date: Sat, 28 Jul 2007 13:42:16 -0700 Subject: [PATCH] A few more Pyrex --> Cython changes. --- Cython/Distutils/build_ext.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Cython/Distutils/build_ext.py b/Cython/Distutils/build_ext.py index 2746280c..bca8b9ff 100644 --- a/Cython/Distutils/build_ext.py +++ b/Cython/Distutils/build_ext.py @@ -19,7 +19,7 @@ def replace_suffix(path, new_suffix): class build_ext (distutils.command.build_ext.build_ext): - description = "compile Pyrex scripts, then build C/C++ extensions (compile/link to build directory)" + description = "compile Cython scripts, then build C/C++ extensions (compile/link to build directory)" def finalize_options (self): distutils.command.build_ext.build_ext.finalize_options(self) @@ -50,11 +50,11 @@ class build_ext (distutils.command.build_ext.build_ext): source = pyx target = replace_suffix(source, suffix) if newer(source, target) or self.force: - self.pyrex_compile(source) + self.cython_compile(source) return [replace_suffix(src, suffix) for src in pyx_sources] + other_sources - def pyrex_compile(self, source): + def cython_compile(self, source): options = CompilationOptions(default_options, include_path = self.include_dirs) result = compile(source, options) -- 2.26.2