On Nov 20, 2007, at 7:03 AM, Jason Grout wrote:
> Hi everyone, > > I have a simple question: I'm trying to write a new class in a new > file. > How do I get that file to show up in Sage? In this case, I'm trying > to write a menu.py file under the sage/server/notebook/widgets > directory > (a new directory). But when starting up SAGE with sage -br, it > doesn't > ever say anything about my file and I can't import my file like a > normal > Sage object (i.e., from sage.server.notebook.widgets import menu). Someone who understands the sage build system will probably give you a better answer in a moment.... but since I'm already awake.... You might need to add 'sage.server.notebook.widgets' near the bottom of setup.py. That script copies files into the place where SAGE knows where to find them. david --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---