A few more Pyrex --> Cython changes.
authorWilliam Stein <wstein@gmail.com>
Sat, 28 Jul 2007 20:42:16 +0000 (13:42 -0700)
committerWilliam Stein <wstein@gmail.com>
Sat, 28 Jul 2007 20:42:16 +0000 (13:42 -0700)
Cython/Distutils/build_ext.py

index 2746280c56e17fc6ac9f8880c0cb59ca71734e7c..bca8b9ff95a9481aaece23a69da0813941daec87 100644 (file)
@@ -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)