djay0529 / mdanalysis

Automatically exported from code.google.com/p/mdanalysis
0 stars 0 forks source link

Compiling under Ubuntu 14.04 #197

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

$ python setup.py build

What is the expected output? What do you see instead?
@jakubkrajniak package $ python setup.py build
Traceback (most recent call last):
  File "setup.py", line 92, in <module>
    if not int(Cython.__version__.replace(".","")) >= int(required_version.replace(".", "")):
ValueError: invalid literal for int() with base 10: '0201post0'

The problem is that the Cython package in Ubuntu 14.04 has the
version 0.20.1post0

I am enclosing the patch for the setup.py

Original issue reported on code.google.com by jkrajn...@gmail.com on 24 Sep 2014 at 9:33

Attachments:

GoogleCodeExporter commented 9 years ago
Hi,

Thanks for the feedback. This issue had been already fixed in the  development 
branch at 55460633d1bf941b500b3df7b90c80d26cdcf088, using

    from distutils.version import LooseVersion
    required_version = "0.16"

    if not LooseVersion(Cython.__version__) >= LooseVersion(required_version):
       ...

Best wishes,
Oliver

Original comment by orbeckst on 24 Sep 2014 at 6:00