[Numpy-discussion] numpy.distutils issue

Pavlyk, Oleksandr oleksandr.pavlyk at intel.com
Wed Aug 24 15:41:06 EDT 2016

Hi All,

According to the documentation page:


Function add_library allows the following keywords:

however setting them seem to have no effect for my extension. Digging deeper, I discovered,
the documentation is inconsistent with the implementation, as per



And indeed, setting extra_f77_compile_arg has the effect I was looking for.

Fixing it is easy, but I am less certain whether we should fix the docs, or the code.

Given that add_extension lists extra_compile_args, extra_f77_compile_args, etc, I would think it
Is the documentation that need to change.

Please confirm, and I will open up a pull request for this.

Thank you,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20160824/d0bb81f0/attachment.html>

More information about the NumPy-Discussion mailing list