~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Robert Collins
  • Date: 2008-09-23 23:28:27 UTC
  • mto: (3696.4.15 process-entry-optimised)
  • mto: This revision was merged to the branch mainline in revision 3731.
  • Revision ID: robertc@robertcollins.net-20080923232827-vpd4xsif8x8op6i3
Review feedback.

Show diffs side-by-side

added added

removed removed

Lines of Context:
228
228
add_pyrex_extension('bzrlib._btree_serializer_c')
229
229
add_pyrex_extension('bzrlib._dirstate_helpers_c')
230
230
add_pyrex_extension('bzrlib._knit_load_data_c')
231
 
add_pyrex_extension('bzrlib._readdir_pyx')
232
231
if sys.platform == 'win32':
233
232
    # pyrex uses the macro WIN32 to detect the platform, even though it should
234
233
    # be using something like _WIN32 or MS_WINDOWS, oh well, we can give it the
235
234
    # right value.
236
235
    add_pyrex_extension('bzrlib._walkdirs_win32',
237
236
                        define_macros=[('WIN32', None)])
 
237
else:
 
238
    add_pyrex_extension('bzrlib._readdir_pyx')
238
239
ext_modules.append(Extension('bzrlib._patiencediff_c', ['bzrlib/_patiencediff_c.c']))
239
240
 
240
241