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

Prabhu Ramachandran prabhu@aero.iitb.ac...
Thu Oct 8 04:31:02 CDT 2009

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.


More information about the Scipy-dev mailing list