[Numpy-discussion] f2py output module name

Ralf Gommers ralf.gommers at gmail.com
Tue Jul 5 15:59:07 EDT 2016


On Tue, Jul 5, 2016 at 9:18 PM, klo uo <klonuo at gmail.com> wrote:

> Hi, I'm following this guide:
> http://docs.scipy.org/doc/numpy-dev/f2py/getting-started.html#the-quick-and-smart-way
>
> I'm on Windows with gfortran and VS2015. When I run:
>
>     f2py -c -m fib3 fib3.f
>
> as output I dont get "fib3.pyd", but "fib3.cp35-win_amd64.pyd".
>
> Does anyone know how to get correctly named module in this case?
>

That is the right output, see https://www.python.org/dev/peps/pep-3149. You
can check the expected extension tag with
`sysconfig.get_config_var('SOABI')`.

There may be a way to turn that off, but why would you?

Ralf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20160705/51686ca4/attachment.html>


More information about the NumPy-Discussion mailing list