This works

sage: !touch my_file.pyx
sage: %runfile my_file.pyx

Vincent

On 22/09/15 06:27, Nathann Cohen wrote:
Hello everybody,

I work on a c++ file which I call in Sage, through a .pyx file. More
practically, I have a .pyx file that contains these lines:

     cdef extern from "/home/ncohen/lexbfs.cc" :
         void hello();
     hello()

Now, the code of the .pyx file never changes (it only calls the c++
function) and so typing "%runfile my_cython_file.pyx" never recompiles
anything even if the .cc file changed.

Is there a way to change this behaviour? I have to go back to the .pyx file
and save a trivial change each time I want to recompile it.

Thanks,

Nathann


--
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 http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to