[sage-support] Re: simple way to link libraries to .pyx in sage?

2008-05-21 Thread tkeller
I stuck this code in at the end of the ext_modules list in setup.py: Extension("pyrna", ["pyrna.pyx"],library_dirs=['/home/thomas/ ViennaRNA-1.7/lib'], libraries=['RNA'],include_dirs=['/home/thomas/ ViennaRNA-1.7/H']) After I pasted that in I realized I was mixing quotes, and chang

[sage-support] Re: simple way to link libraries to .pyx in sage?

2008-05-21 Thread mabshoff
On May 22, 2:04 am, tkeller <[EMAIL PROTECTED]> wrote: Hi Thomas, > 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 '.py

[sage-support] Re: simple way to link libraries to .pyx in sage?

2008-05-21 Thread tkeller
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

[sage-support] Re: simple way to link libraries to .pyx in sage?

2008-05-21 Thread Robert Bradshaw
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