mattjj / pyhsmm

MIT License
546 stars 173 forks source link

cython 0.22 incompatibility with util/cyutil.py wrapper #31

Closed mattjj closed 9 years ago

mattjj commented 9 years ago

Someone brought this problem to my attention in an email:

root@bd63:/home/exp/pyhsmm# python setup.py build_ext --inplace

Traceback (most recent call last):

  File "setup.py", line 35, in <module>

    ext_modules = cythonize('**/*.pyx')

  File "/home/exp/lbshmm/pyhsmm/util/cyutil.py", line 107, in cythonize

    out = true_cythonize(*args,**kwargs)

  File "/usr/local/lib/python2.7/dist-packages/Cython/Build/Dependencies.py", line 754, in cythonize

    aliases=aliases)

ValueError: too many values to unpack

My unfortunate wrapper in util/cyutil.py depends on some cython internals that changed slightly in 0.22!

mattjj commented 9 years ago

A better long-term fix would be to follow standard python packaging conventions (#28).