~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to setup.py

Merge description into dont-add-conflict-helpers

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 == '0.9.4.1':
 
285
    if have_pyrex and pyrex_version.startswith('0.9.4'):
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>
290
292
        print 'Cannot build extension "bzrlib._dirstate_helpers_pyx" using'
291
293
        print 'your version of pyrex "%s". Please upgrade your pyrex' % (
292
294
            pyrex_version,)
401
403
    # PyQt4 itself still escapes the plugin detection code for some reason...
402
404
    packages.append('PyQt4')
403
405
    excludes.append('PyQt4.elementtree.ElementTree')
 
406
    excludes.append('PyQt4.uic.port_v3')
404
407
    includes.append('sip') # extension module required for Qt.
405
408
    packages.append('pygments') # colorizer for qbzr
406
409
    packages.append('docutils') # html formatting