Hi,
I'm trying to create a package that integrates a Python programme in
Sage.
The problem is that it doesn't work with Sage preparser, so I must
redefine RealNumber and Integer as follows:

RealNumber=float
Integer=int

(I could also turn off the preparser, but I think it's better to do it
that way... am I wrong?). Now, I would like that when someone installs
this package, this redefinition is automatically done and that it
somehow involves just the functions in this package. Is that possible?
I looked for information everywhere but I couldn't find anything. I
think lots of packages should do that (such as numpy, biopython, ...)
but in the source code I can't find it.

Thank you very much in advance,


Uri

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

To unsubscribe, reply using "remove me" as the subject.

Reply via email to