From: William Stein Date: Sat, 28 Jul 2007 20:42:16 +0000 (-0700) Subject: A few more Pyrex --> Cython changes. X-Git-Tag: 0.9.6.14~29^2~169 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0a930f3fde42da201b8b9994404adece5c0e4347;p=cython.git A few more Pyrex --> Cython changes. --- 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)