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
-~----------~----~----~----~------~----~------~--~---

Reply via email to