Skip to content

Small bug when running install script #16

@moosmann

Description

@moosmann

Hi Daan,

I hope you're doing fine. How's your PhD doing?

To the actual issue:

When running the install script, the Cython-version checking fails on some platforms. We encountered this bug on two machines using Ubuntu 14.04 LTS.

Following error message occurs when running 'install.sh':

Traceback (most recent call last):
File "builder.py", line 40, in
if StrictVersion(Cython.version)>=StrictVersion('0.13'):
File "/usr/lib/python2.7/distutils/version.py", line 40, in init
self.parse(vstring)
File "/usr/lib/python2.7/distutils/version.py", line 107, in parse
raise ValueError, "invalid version number '%s'" % vstring
ValueError: invalid version number '0.20.1post0

I quickly fixed the bug replacing following line in 'builder.py'
if StrictVersion(Cython.version)>=StrictVersion('0.13'):
by
if StrictVersion(Cython.version[0:4])>=StrictVersion('0.13'):

Best wishes,
Julian

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions