dep_search icon indicating copy to clipboard operation
dep_search copied to clipboard

Compilation broken with cython > 0.25.2

Open msklvsk opened this issue 7 years ago • 1 comments

Latest cython version breaks the installation.

dep_search$ make
make -C setlib
make[1]: Entering directory '/opt/depsearch/dep_search/setlib'
python setup.py build_ext --inplace
Traceback (most recent call last):
  File "setup.py", line 7, in <module>
    language="c++",             # generate C++ code
  File "/opt/depsearch/virtualenv/local/lib/python2.7/site-packages/Cython/Build/Dependencies.py", line 909, in cythonize
    c_options = CompilationOptions(**options)
  File "/opt/depsearch/virtualenv/local/lib/python2.7/site-packages/Cython/Compiler/Main.py", line 559, in __init__
    raise ValueError(message)
ValueError: got unknown compilation option, please remove: sources
Makefile:7: recipe for target 'pytset.so' failed
make[1]: *** [pytset.so] Error 1
make[1]: Leaving directory '/opt/depsearch/dep_search/setlib'
Makefile:8: recipe for target 'setlib' failed
make: *** [setlib] Error 2

However, everything works with pip install cython==0.25.2.

msklvsk avatar Nov 24 '17 16:11 msklvsk

Patch here: https://github.com/jmnybl/setlib/pull/1

frankier avatar Apr 09 '18 12:04 frankier