[sage-devel] Re: writing a new class

2007-11-20 Thread Jason Grout
David Roe wrote: > This is one of the things I'd been planning on adding to the new > programming guide. > > Your issue is that you're creating a new directory. When you do that, > you have to add that directory to the list of packages at the bottom of > setup.py in sage-root/devel/sage-branc

[sage-devel] Re: writing a new class

2007-11-20 Thread David Roe
This is one of the things I'd been planning on adding to the new programming guide. Your issue is that you're creating a new directory. When you do that, you have to add that directory to the list of packages at the bottom of setup.pyin sage-root/devel/sage-branch/ You should also put an __init__

[sage-devel] Re: writing a new class

2007-11-20 Thread David Harvey
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