~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Denys Duchier
  • Date: 2011-08-30 14:44:42 UTC
  • mto: This revision was merged to the branch mainline in revision 6118.
  • Revision ID: denys.duchier@univ-orleans.fr-20110830144442-7gxh23wg4ia4yuvc
current cython has version 0.15+

Show diffs side-by-side

added added

removed removed

Lines of Context:
202
202
    from distutils.command.build_ext import build_ext
203
203
else:
204
204
    have_pyrex = True
205
 
    pyrex_version_info = tuple(map(int, pyrex_version.split('.')))
 
205
    import re
 
206
    _version = re.match("^[0-9.]+", pyrex_version).group(0)
 
207
    pyrex_version_info = tuple(map(int, _version.split('.')))
206
208
 
207
209
 
208
210
class build_ext_if_possible(build_ext):