On Tuesday, April 24, 2018 at 11:13:29 AM UTC-7, Martin R wrote:
>
> It just ocurred to me: why does all this work with sage 8.1?  Is it only 
> the cython upgrade?
>
> Martin
>
 
I don't think the things you're running into have changed much on the sage 
side, so I would suspect the cython upgrade. It looks like the pyximport 
hook has become much more invasive. Perhaps it's worth mentioning on the 
cython list. Perhaps there's something that can be done to make it less so. 
Perhaps configuration flags to making it more opt-in.

In any case, setup.py should really work.

Alternatively, for your example

sage -sh -c 'cythonize -i -a minimal_pyx.pyx'

seems to work as well, so if you're willing to run that prior to doing 
`import minimal_pyx` you should be OK. That doesn't seem so bad?

This wisdom is coming from 
http://cython.readthedocs.io/en/latest/src/reference/compilation.html

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