[issue7091] Distutils build ignores the --compiler command line option

2009-10-14 Thread Tarek Ziadé

Tarek Ziadé ziade.ta...@gmail.com added the comment:

Duplicate of #7068

--
resolution:  - duplicate
status: open - closed
superseder:  - 2.6.3 does not use specified compiler

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7091
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7091] Distutils build ignores the --compiler command line option

2009-10-09 Thread jmb

New submission from jmb jeber...@free.fr:

I tried building an extension on windows with the following command:

 python setup.py build --compiler=mingw32

and got an error: Unable to find vcvarsall.bat. The way I understand
it, that error shows that it tried to use the MSVC compiler instead of
obeying the --compiler=mingw32 command line option.

I then tried to give a bogus compiler value and got the same error
message (iirc python 2.5 used to say that it didn't know the 'bogus'
compiler).

Finally, I modified _default_compilers in distutils/ccompiler.py and put
'mingw32' in the 'nt' key. Afterward, my extension compiled and works
properly.

Python version: 2.6.3 on WinXP 32 bits.

--
assignee: tarek
components: Distutils
messages: 93789
nosy: jmb, tarek
severity: normal
status: open
title: Distutils build ignores the --compiler command line option
type: behavior
versions: Python 2.6

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7091
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com