Re: [Numpy-discussion] f2py - how to use .pyf files?

2008-07-18 Thread Robert Kern
On Fri, Jul 18, 2008 at 17:39, Fernando Perez [EMAIL PROTECTED] wrote: Howdy, again f2py... Since I can't seem to figure out how to pass the --fcompiler option to f2py via setup.py/distutils, I decided to just do things for now via a plain makefile. But I'm struggling here too. The problem

Re: [Numpy-discussion] f2py - how to use .pyf files?

2008-07-18 Thread Robert Kern
On Fri, Jul 18, 2008 at 18:19, Fernando Perez [EMAIL PROTECTED] wrote: On Fri, Jul 18, 2008 at 3:53 PM, Robert Kern [EMAIL PROTECTED] wrote: You still need -m text2, I believe. Right, thanks. But it still doesn't quite work. Consider a makefile with lib: seglib.so seglib.so: Text2.f90

Re: [Numpy-discussion] f2py - how to use .pyf files?

2008-07-18 Thread Fernando Perez
On Fri, Jul 18, 2008 at 4:26 PM, Robert Kern [EMAIL PROTECTED] wrote: On Fri, Jul 18, 2008 at 18:19, Fernando Perez [EMAIL PROTECTED] wrote: On Fri, Jul 18, 2008 at 3:53 PM, Robert Kern [EMAIL PROTECTED] wrote: You still need -m text2, I believe. Right, thanks. But it still doesn't quite

Re: [Numpy-discussion] f2py - how to use .pyf files?

2008-07-18 Thread Robert Kern
On Fri, Jul 18, 2008 at 18:35, Fernando Perez [EMAIL PROTECTED] wrote: On Fri, Jul 18, 2008 at 4:26 PM, Robert Kern [EMAIL PROTECTED] wrote: On Fri, Jul 18, 2008 at 18:19, Fernando Perez [EMAIL PROTECTED] wrote: On Fri, Jul 18, 2008 at 3:53 PM, Robert Kern [EMAIL PROTECTED] wrote: You still

Re: [Numpy-discussion] f2py - how to use .pyf files?

2008-07-18 Thread Fernando Perez
On Fri, Jul 18, 2008 at 4:47 PM, Robert Kern [EMAIL PROTECTED] wrote: For publicly distributed packages, it does go against the grain. Never hard-code the compiler! Use a setup.cfg file, instead. Quite all right. But this was for in-house code where a group has agreed to all use the same

Re: [Numpy-discussion] f2py - how to use .pyf files?

2008-07-18 Thread Robert Kern
On Fri, Jul 18, 2008 at 19:04, Fernando Perez [EMAIL PROTECTED] wrote: On Fri, Jul 18, 2008 at 4:47 PM, Robert Kern [EMAIL PROTECTED] wrote: For publicly distributed packages, it does go against the grain. Never hard-code the compiler! Use a setup.cfg file, instead. Quite all right. But

Re: [Numpy-discussion] f2py - how to use .pyf files?

2008-07-18 Thread Fernando Perez
On Fri, Jul 18, 2008 at 5:15 PM, Robert Kern [EMAIL PROTECTED] wrote: Probably. What other options would you need, though? If everything is accessible from setup.cfg, I'd rather just remove the argument. I'd be OK with that too, and simply telling people to ship a companion setup.cfg. It's

Re: [Numpy-discussion] f2py - how to use .pyf files?

2008-07-18 Thread Fernando Perez
On Fri, Jul 18, 2008 at 5:20 PM, Fernando Perez [EMAIL PROTECTED] wrote: On Fri, Jul 18, 2008 at 5:15 PM, Robert Kern [EMAIL PROTECTED] wrote: Probably. What other options would you need, though? If everything is accessible from setup.cfg, I'd rather just remove the argument. I just