[issue7091] Distutils build ignores the --compiler command line option
New submission from jmb : 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 <http://bugs.python.org/issue7091> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2889] curses for windows (alternative patch)
Changes by jmb : -- nosy: +jmb ___ Python tracker <http://bugs.python.org/issue2889> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2889] curses for windows (alternative patch)
jmb added the comment: I've built a package for python 2.6 using a slightly modified version of this patch. I've uploaded it here: http://jeberger.free.fr/python/ I'm attaching my version of the patch here. I had to make two modifications for it to work: - Change all references to _ISPAD into _PAD (obviously this needs to be done better since what I did will break the ncurses compatibility); - Change "(long) (n << 8)" into "COLOR_PAIR (n)". This should be compatible between curses implementations. With this package, I've been able to run the Mercurial "crecord" extension on Windows. -- Added file: http://bugs.python.org/file15171/python-pdcurses-3.patch ___ Python tracker <http://bugs.python.org/issue2889> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com