On 2016-07-31 01:09, Simon King wrote:
When trying to build the old-style version of my modular group
cohomology spkg, I now get:
pGroupCohomology/resolution.c:279:28: fatal error: struct_signals.h: No
such file or directory
  #include "struct_signals.h"

The problem is this line in setup.py:

from Cython.Distutils import build_ext

This "build_ext" command is an old and semi-broken way to compile Cython files. In fact, newer versions of Cython have an improved "build_ext" command and give the warning

/usr/local/src/sage-git/local/src/cython/Cython/Distutils/build_ext.py:20: UserWarning: Cython.Distutils.build_ext does not properly handle dependencies and is deprectated. Use Cython.Build.build_ext instead.

The right way to compile Cython files is using cythonize(). But unfortunately I cannot find the Cython docs, so I cannot point you to the documentation for that.

--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to