
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.

On Fri, Mar 22, 2002 at 08:28:02AM +0000, Pete Shinners wrote:
makesetup actually does the same thing, and I think this makes -C completely useless. (Distutils was therefore preserving compatibility.) I've sent a note off to python-dev about this, suggesting that the second fix should be made; we'll see what the reaction is. In any case, good catch, Pete! --amk (www.amk.ca) "It seems we must always meet again." "They do say opposites attract." -- The Master and the Doctor, in "Survival"

On Fri, Mar 22, 2002 at 08:59:03PM -0500, Andrew Kuchling wrote:
makesetup actually does the same thing, and I think this makes -C completely useless. (Distutils was therefore preserving
I've submitted patch #536769 on SourceForge (http://www.python.org/sf/536769) to add a -Xcompiler flag to both Distutils and makesetup. Pete, please try it out and confirm that it works; if it does, I'll check it in. --amk (www.amk.ca) What a sentimental old thing this TARDIS is! -- The Doctor, in "The Enemy Within"

On Fri, Mar 22, 2002 at 08:28:02AM +0000, Pete Shinners wrote:
makesetup actually does the same thing, and I think this makes -C completely useless. (Distutils was therefore preserving compatibility.) I've sent a note off to python-dev about this, suggesting that the second fix should be made; we'll see what the reaction is. In any case, good catch, Pete! --amk (www.amk.ca) "It seems we must always meet again." "They do say opposites attract." -- The Master and the Doctor, in "Survival"

On Fri, Mar 22, 2002 at 08:59:03PM -0500, Andrew Kuchling wrote:
makesetup actually does the same thing, and I think this makes -C completely useless. (Distutils was therefore preserving
I've submitted patch #536769 on SourceForge (http://www.python.org/sf/536769) to add a -Xcompiler flag to both Distutils and makesetup. Pete, please try it out and confirm that it works; if it does, I'll check it in. --amk (www.amk.ca) What a sentimental old thing this TARDIS is! -- The Doctor, in "The Enemy Within"
participants (2)
-
Andrew Kuchling
-
Pete Shinners