~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to setup.py

(gz) Fix compatibility with Cython 0.15 or later and development versions
 (Martin Packman)

Show diffs side-by-side

added added

removed removed

Lines of Context:
198
198
    from distutils.command.build_ext import build_ext
199
199
else:
200
200
    have_pyrex = True
201
 
    pyrex_version_info = tuple(map(int, pyrex_version.split('.')))
 
201
    pyrex_version_info = tuple(map(int, pyrex_version.rstrip("+").split('.')))
202
202
 
203
203
 
204
204
class build_ext_if_possible(build_ext):