Dear William, On May 6, 7:53 pm, William Stein <wst...@gmail.com> wrote: ... > Here's a little notebook session that uses cimport from the Sage > library to do evil mutation of a sage integer: ... > cd to that directory, and go into the spyx subdirectory. > Look at the setup.py file there.
OK, and there, I see a lot of include directories: '/home/king/SAGE/devel/sage-3.2.3/local/include/csage/',* '/home/king/SAGE/devel/sage-3.2.3/local/include/', * '/home/king/SAGE/devel/sage-3.2.3/local/include/python2.5/',* '/home/ king/SAGE/devel/sage-3.2.3/devel/sage/sage/ext/', * '/home/king/SAGE/devel/sage-3.2.3/devel/sage/', * '/home/king/SAGE/devel/sage-3.2.3/devel/sage/sage/gsl/', '/home/ king/.sage/sage_notebook/worksheets/admin/12/code' I tested which of these are needed for cimport of RingElement, and I found that SAGE_ROOT+'/local/include/csage/' suffices. So, you made my day, William! Thank you Simon --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---