~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: John Arbash Meinel
  • Date: 2009-10-06 22:59:59 UTC
  • mto: (4679.6.1 2.1-export-c-api)
  • mto: This revision was merged to the branch mainline in revision 4735.
  • Revision ID: john@arbash-meinel.com-20091006225959-fogffimckh1m7ww0
start trying to expose everything just from cython.

But I found out the argument is moot. You can't override tp_new (__new__)
to have a custom allocator/StaticTuple() be a singleton.
So I'm going to go back to the C api, and just make the rest
pyrex compatible.

Show diffs side-by-side

added added

removed removed

Lines of Context:
291
291
        add_pyrex_extension('bzrlib._dirstate_helpers_pyx')
292
292
    add_pyrex_extension('bzrlib._readdir_pyx')
293
293
    z_lib = 'z'
294
 
add_pyrex_extension('bzrlib._chk_map_pyx', libraries=[z_lib])
295
294
ext_modules.append(Extension('bzrlib._patiencediff_c',
296
295
                             ['bzrlib/_patiencediff_c.c']))
297
 
ext_modules.append(Extension('bzrlib._static_tuple_type_c',
298
 
                             ['bzrlib/_static_tuple_type_c.c']))
 
296
# ext_modules.append(Extension('bzrlib._static_tuple_type_c',
 
297
#                              ['bzrlib/_static_tuple_type_c.c']))
299
298
add_pyrex_extension('bzrlib._static_tuple_pyx')
300
 
add_pyrex_extension('bzrlib._btree_serializer_pyx')
 
299
# add_pyrex_extension('bzrlib._btree_serializer_pyx')
 
300
# add_pyrex_extension('bzrlib._chk_map_pyx', libraries=[z_lib])
301
301
 
302
302
 
303
303
if unavailable_files: