~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-11-17 03:20:35 UTC
  • mfrom: (4792.4.3 456036)
  • Revision ID: pqm@pqm.ubuntu.com-20091117032035-s3sgtlixj1lrminn
(Gordon Tyler) Fix IndexError during 'bzr ignore /' (#456036)

Show diffs side-by-side

added added

removed removed

Lines of Context:
282
282
    add_pyrex_extension('bzrlib._walkdirs_win32')
283
283
    z_lib = 'zdll'
284
284
else:
285
 
    if have_pyrex and pyrex_version.startswith('0.9.4'):
 
285
    if have_pyrex and pyrex_version == '0.9.4.1':
286
286
        # Pyrex 0.9.4.1 fails to compile this extension correctly
287
287
        # The code it generates re-uses a "local" pointer and
288
288
        # calls "PY_DECREF" after having set it to NULL. (It mixes PY_XDECREF
289
289
        # which is NULL safe with PY_DECREF which is not.)
290
 
        # <https://bugs.edge.launchpad.net/bzr/+bug/449372>
291
 
        # <https://bugs.edge.launchpad.net/bzr/+bug/276868>
292
290
        print 'Cannot build extension "bzrlib._dirstate_helpers_pyx" using'
293
291
        print 'your version of pyrex "%s". Please upgrade your pyrex' % (
294
292
            pyrex_version,)
403
401
    # PyQt4 itself still escapes the plugin detection code for some reason...
404
402
    packages.append('PyQt4')
405
403
    excludes.append('PyQt4.elementtree.ElementTree')
406
 
    excludes.append('PyQt4.uic.port_v3')
407
404
    includes.append('sip') # extension module required for Qt.
408
405
    packages.append('pygments') # colorizer for qbzr
409
406
    packages.append('docutils') # html formatting