Index: files/patch-setup.py =================================================================== --- files/patch-setup.py (revision 369709) +++ files/patch-setup.py (working copy) @@ -1,5 +1,22 @@ ---- setup.py.orig 2013-08-20 10:38:37.000000000 +0800 -+++ setup.py 2013-08-20 10:40:44.000000000 +0800 +--- setup.py.orig 2013-05-08 19:03:00.000000000 +0300 ++++ setup.py 2014-10-01 13:22:43.000000000 +0300 +@@ -111,14 +111,14 @@ + # Check if Cython is installed or not (requisite) + try: + from Cython.Distutils import build_ext +- from Cython.Compiler.Main import Version ++ from Cython import __version__ as Cython_version + cmdclass['build_ext'] = build_ext + except ImportError: + exit_with_error( + "You need %(pkgname)s %(pkgver)s or greater to compile PyTables!" + % {'pkgname': 'Cython', 'pkgver': min_cython_version}) + +-if Version.version < min_cython_version: ++if Cython_version < min_cython_version: + exit_with_error( + "At least Cython %s is needed so as to generate extensions!" + % (min_cython_version)) @@ -133,8 +133,8 @@ debug = '--debug' in sys.argv