On Jan 13, 2009, at 9:38 AM, Vincent Delecroix wrote: > Hi sage-developers, > > I need objects in Sage that not yet totally exist (a combinatoric one, > and another derived from oriented graph). So I write some python files > (pure python for the moment) to create those new objects. My problem > is that I didn't find any place on the web where it's said how to > construct a spkg file from my python files and how can I integrate my > objects in sage.
If I have a python file foo.py, from Python I can type "load foo.py" from the sage console and access everything. I can also "import foo" and then foo.* are all defined just as in Python. Or, if you're trying to extend the features of Sage, modifying the Sage library itself ($SAGE_ROOT/devel/sage-xxx). This is the way one would want to go to get new features included in Sage itself. > I hope that's the good place for this question. sage-support might be a better place, but it's not entirely clear what you're trying to do. - Robert --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---