[Distutils] bug in read_setup_file ?

Pete Shinners pete@shinners.org
Fri Mar 22 11:22:02 2002


i've found a little difficulty trying to add extra compile flags into 
the arguments used in a "Setup" file with distutils. in extension.py 
line 179:

     elif switch == "-C":        # only here 'cause makesetup has it!
         ext.extra_compile_args.append(word)

this should either be "ext.extra_compile_args.append(value)" or 
"append_next_word=ext.extra_compile_args". (depending on however 
makesetup is supposed to work). in its current form, distutils is adding 
the actual "-C" flag into the extra_compile_args, ugh.