On Fri, Apr 15, 2011 at 3:07 AM, Nathann Cohen <[email protected]> wrote: > Hello everybody ! > > Robert showed me a few days ago that it was possible to obtain a clear > version of the C code generated by Cython when compiling a .pyx file, > while I was trying to read the obfuscated one ^^; > > Now I wondered whether it would be possible to ask Sage to do it for > some files of my choice... Is there a way to modify entried in the > module_list.py to add the "-a" flag to Cython when it is called by > Sage ?
Manually run "sage -cython -a path/to/devel/sage/..." and it will set up the proper include paths and run cython to make the .html (and .c) files. I don't remember if this made it into the last release, but in the current Cython head, if an autogenerated .html file exists, Cython will update it by default even without the -a flag. - Robert -- To post to this group, send an email to [email protected] To unsubscribe from this group, send an email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org
