[f2py] scipy_distutils + extra g77 options
Jeffery D. Collins
jcollins_boulder at earthlink.net
Fri Mar 4 04:40:54 EET 2005
I have a situation where the g77 compiler requires some extra options in
order to compile an extension module. After some fiddling around, I was
able to get things working by appending 'config_fc
--f77-flags=-fugly-logint' to the command line: python setup.py build.
Is it possible to get this working inside the setup.py script instead
(no credit for sys.argv.append(...) :-)? I tried unsuccessfully to
pass the options through the Extension class' f2py_options kw argument,
since that particular option is only valid in the presence of '-c'.
More information about the f2py-users