[issue7833] bdist_wininst installers fail to load extensions built with Issue4120 patch

2012-11-21 Thread Almar Klein
Almar Klein added the comment: Just checking in to point out a possible problem with the code that strips the MSVCR dependency from the embedded manifest. The used regexpr is too greedy: the first bit can trigger on an earlier "assemblyIdentity" tag, so that after the removal the m

[issue13765] Distutils does not put quotes around paths that contain spaces when compiling with MSVC

2012-01-13 Thread Almar Klein
Almar Klein added the comment: This issue is posted at http://projects.scipy.org/numpy/ticket/2018 -- resolution: invalid -> status: closed -> open ___ Python tracker <http://bugs.python.org/i

[issue13765] Distutils does not put quotes around paths that contain spaces when compiling with MSVC

2012-01-13 Thread Almar Klein
Almar Klein added the comment: Ok, I went to prepare a minimal example that does not use Cython nor Numpy. And then the problem was gone. Even more so, my fix would cause a problem, because somewhere quotes are placed around the entire command: ...link.exe /DLL "/LIBPATH:C:\Program

[issue13765] Distutils does not put quotes around paths that contain spaces when compiling with MSVC

2012-01-11 Thread Almar Klein
New submission from Almar Klein : I found an easy to solve bug in distutils, which is causing problems with compiling Cython code on Windows. I have reproduced this on Python 2.6 and Python 3.2 (32 bit). The problem occurs with the native msvc compiler. Using gcc (MinGW) works fine. The