Re: [f2py] Location of f2py's output
Pearu Peterson <[email protected]> Sat, 15 Dec 2012 16:24:47 +0200
| Newsgroups | gmane.comp.python.f2py.user |
|---|---|
| Message-ID | <CAPpwKcy0OhN9Fd3DWzxHesYJWi9g_AErvzpnDpcFHCCucVguJg@mail.gmail.com> |
--===============3436026282829832087== Content-Type: multipart/alternative; boundary=f46d043085700feb1f04d0e4e9ab --f46d043085700feb1f04d0e4e9ab Content-Type: text/plain; charset=ISO-8859-1 Hi, f2py does not have the requsted option. But try `--build-dir <dirname>` option in f2py command line. Note that all temporary files are also going to be saved in the specified build directory that have to be removed manually. Another approach would be just to move the .so file after f2py finishes. For example: f2py -c -m foo ... && mv foo.so <target path> HTH, Pearu On Fri, Dec 14, 2012 at 8:34 PM, Vinay Sajip <vinay_sajip-/[email protected]>wrote: > When running f2py with -c, I'd like the output location of the resulting > .so > file to be somewhere other than the current directory. How do I do this? I > can't > see anything in the f2py or f2py2e documentation which relates to this, > nor do > the man page or command line enlighten as to this point. I found nothing > via > Google, Stack Overflow etc. > > Any help gratefully received! This is my first post here, I'm very much a > newbie, > as you can probably tell! > > Regards, > > Vinay Sajip > > > _______________________________________________ > f2py-users mailing list > f2py-users-Y4l6ocDipWCuvFJfX82//[email protected] > http://cens.ioc.ee/mailman/listinfo/f2py-users > --f46d043085700feb1f04d0e4e9ab Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <br>Hi,<br><br>f2py does not have the requsted option.<br><br>But try `--bu= ild-dir <dirname>` option in f2py command line.<br>Note that all temp= orary files are also going to be saved in the specified build directory tha= t have to be removed manually.<br> <br>Another approach would be just to move the .so file after f2py finishes= . For example:<br>=A0 f2py -c -m foo ... && mv foo.so <target pa= th><br><br>HTH,<br>Pearu<br><div class=3D"gmail_extra"><br><br><div clas= s=3D"gmail_quote"> On Fri, Dec 14, 2012 at 8:34 PM, Vinay Sajip <span dir=3D"ltr"><<a href= =3D"mailto:vinay_sajip-/[email protected]" target=3D"_blank">vinay_sajip-/[email protected]= uk</a>></span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"marg= in:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> When running f2py with -c, I'd like the output location of the resultin= g .so<br> file to be somewhere other than the current directory. How do I do this? I = can't<br> see anything in the f2py or f2py2e documentation which relates to this, nor= do<br> the man page or command line enlighten as to this point. I found nothing vi= a<br> Google, Stack Overflow etc.<br> <br> Any help gratefully received! This is my first post here, I'm very much= a newbie,<br> as you can probably tell!<br> <br> Regards,<br> <br> Vinay Sajip<br> <br> <br> _______________________________________________<br> f2py-users mailing list<br> <a href=3D"mailto:f2py-users-Y4l6ocDipWCuvFJfX82//[email protected]">f2py-users-Y4l6ocDipWCuvFJfX82//[email protected]</a><br> <a href=3D"http://cens.ioc.ee/mailman/listinfo/f2py-users" target=3D"_blank= ">http://cens.ioc.ee/mailman/listinfo/f2py-users</a><br> </blockquote></div><br></div> --f46d043085700feb1f04d0e4e9ab-- --===============3436026282829832087== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ f2py-users mailing list f2py-users-Y4l6ocDipWCuvFJfX82//[email protected] http://cens.ioc.ee/mailman/listinfo/f2py-users --===============3436026282829832087==--