/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-09-26 04:27:28 UTC
  • mfrom: (3696.4.20 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20080926042728-8dzaiolv2q1duutw
(robertc) Create a pyrex optimised iter_changes for dirstate trees.
        (Robert Collins)

Show diffs side-by-side

added added

removed removed

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