[SciPy-dev] numpy.distutils: passing config_fc options in setup.py

Pearu Peterson pearu.peterson@gmail....
Fri Oct 9 01:49:02 CDT 2009

Prabhu Ramachandran wrote:
> On Monday 05 October 2009 03:50 PM, Pearu Peterson wrote:
>>> passing config_fc={...} to either Extension or setup does not work.
>>> The numpy version is 1.4.0.dev6976.
>> A hackish solution would be to insert the following code to the
>> beginning of the setup.py file:
>> import sys
>> sys.argv[:] = sys.argv[:1] + ['config_fc'. "--f90flags='-ffree-form
>> -fno-underscoring'"] + sys.argv[1:]
>> )
> Thanks for the suggestion.  I was hoping for a cleaner solution but this
> will work too.

I just recalled that there is another solution. See



More information about the Scipy-dev mailing list