You were correct, it doesn't try to rebuild everything, just modules that have changed. However, I am now getting the following error message: running build_ext building 'pyrna' extension error: unknown file type '.pyx' (from 'pyrna.pyx') sage: There was an error installing modified sage library code.
This error didn't occur during the first, complete build. The only thing I changed was adding a dummy function so that it would rebuild the module. Removing it doesn't affect the error, so I don't think it is that. Thomas On May 21, 6:46 pm, Robert Bradshaw <[EMAIL PROTECTED]> wrote: > On May 21, 2008, at 4:21 PM, tkeller wrote: > > > > > Hi folks, > > Let me say from the start that I've really enjoyed stumbling across > > sage; it's been a good motivator to learn more python. One thing I've > > been thinking about recently was adapting a evolutionary simulation > > project written in c to python. The crux I've reached is that it > > depends on a C library called ViennaRNA. Wrapping libraries is new to > > me, but after stumbling through for a day I got the functions I needed > > working in cython, which I then installed to my regular python > > distro. > > > My question is: Is there an easy way to load .pyx files in sage that > > require a linked library or install in a similar fashion to regular > > python ala distutils? > > There is not yet a way to specify this in the .pyx file itself, but > it has been discussed and would be nice. > > > All I came across in the docs was adding the > > module to the giant sage setup.py and then rebuilding with sage -br. > > I'm currently doing this and have every expectation for it to work, > > but it seems a bit ungainly, since it has to rebuild all of the > > modules. > > It only needs to rebuild all the modules once (which will be the > first time you do sage -br if you downloaded a binary build), after > that it will only build the needed ones. Or is it trying to rebuild > the entire thing every time? > > - Robert --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@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-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---