Rev 2328: Add in the readdir based pyrex code, with a python version of path_info, passing all tests. in file:///home/robertc/source/baz/pathinfo/

Robert Collins robertc at robertcollins.net
Fri Mar 9 07:05:02 GMT 2007


At file:///home/robertc/source/baz/pathinfo/

------------------------------------------------------------
revno: 2328
revision-id: robertc at robertcollins.net-20070309070456-3bv1aazv06i02l7z
parent: robertc at robertcollins.net-20070309065618-ywyoek2q5sf3knht
committer: Robert Collins <robertc at robertcollins.net>
branch nick: pathinfo
timestamp: Fri 2007-03-09 18:04:56 +1100
message:
  Add in the readdir based pyrex code, with a python version of path_info, passing all tests.
modified:
  setup.py                       setup.py-20050314065409-02f8a0a6e3f9bc70
=== modified file 'setup.py'
--- a/setup.py	2007-03-08 04:06:06 +0000
+++ b/setup.py	2007-03-09 07:04:56 +0000
@@ -158,12 +158,12 @@
            ", you cannot modify the C extensions.")
     from distutils.command import build_ext
     from distutils.extension import Extension
-    #ext_modules.append(
-    #    Extension("bzrlib.modulename", ["bzrlib/foo.c"], libraries = []))
+    ext_modules.append(
+        Extension("bzrlib.path_info_c", ["bzrlib/path_info_c.c"], libraries = []))
 else:
     from distutils.extension import Extension
-    #ext_modules.append(
-    #    Extension("bzrlib.modulename", ["bzrlib/foo.pyx"], libraries = []))
+    ext_modules.append(
+        Extension("bzrlib.path_info_c", ["bzrlib/path_info_c.pyx"], libraries = []))
 command_classes['build_ext'] = build_ext
 
 if 'bdist_wininst' in sys.argv:



More information about the bazaar-commits mailing list