~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-09-24 01:43:25 UTC
  • mfrom: (3696.3.12 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20080924014325-ucivgbdmsbuthnqw
(robertc) Accelerate _walkdirs_utf8 on unix platforms. (Robert
        Collins)

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