![](https://secure.gravatar.com/avatar/fcc1e9dd91d747f8cc87ebae8d7bc7a3.jpg?s=120&d=mm&r=g)
22 Mar
2002
22 Mar
'02
12:22 p.m.
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.