Apparently there is something weird happening with the cysignals deprecation (occurring when interrupt.pxi is invoked) when importing the module. For example you can test the following (that *does* work)

$ cd ${SAGE_LOCAL}/lib/python2.7/site-packages/pGroupCohomology
$ sage -q
sage: import cohomology   # warning but fine!!
<WARNING ABOUT interrupt.pxi>
sage:

In order to make it work, you can change *all* occurrences of

include "interrupt.pxi"

from your code with

include "cysignals/signals.pxi"

I did it and it worked (for the import part).

Vincent

On 30/07/16 20:58, Simon King wrote:
Hi again,

On 2016-07-31, Simon King <simon.k...@uni-koeln.de> wrote:
With these changes, it seems that the package builds!

Spoke too soon. It does build. But it can not be used: Accourding to
setup.py, the package builds an extension module pGroupCohomology.cohomology.
But after successfully building the package, the extension module
cannot be imported. That's yet another problem that I haven't had
before.

I have updated
users.minet.uni-jena.de/~king/p_group_cohomology-2.1.5.log

How could that new problem happen/be fixed?

Best regards,
Simon


--
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