j: Next unread message
k: Previous unread message
j a: Jump to all threads
j l: Jump to MailingList overview
Hi, when I add fortran sources to add_extension, the resulting module has only methods from one of the sources, nothing else. (And I only need these methods for Cython so I don't need python wrapers and f2py for them at all). Yes, it seems that f2py options don't work, I think the root is in the fact, that libraries added by add_library are not compiled by f2py, but only by fortran compiler, so there is no "space" to apply these options. I had read the distutils documentation and find nothing relevant (but I could miss something, obviously). Contacting numpy-guys is already in progress :-) But I realize that there is maybe one ugly hack: compile them as standalone extension and then pass the .so files to the linker of the "main" extension. It should work, but it's platform dependent (name of extension files can differ). Thank for reply Matyas PS: Sorry for missing subjec, i missed it when I changed sender adress to have the message accepted.