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

2012-01-13 Thread Éric Araujo
Changes by Éric Araujo : -- resolution: -> invalid status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[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 ___ _

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

2012-01-13 Thread Éric Araujo
Éric Araujo added the comment: OK, thanks. Please add a link to the Numpy or Cython bug report here. -- assignee: tarek -> eric.araujo resolution: -> invalid stage: patch review -> committed/rejected status: open -> closed ___ Python tracker

[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 Files (x86

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

2012-01-12 Thread Éric Araujo
Éric Araujo added the comment: Oh and BTW it would be very helpful if you could adapt your test script to be pure-distutils, without Cython or Numpy extensions. -- ___ Python tracker _

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

2012-01-12 Thread Éric Araujo
Éric Araujo added the comment: Thanks for the report and patch. How can we test it? Do we need to install a Python on a path with embedded spaces? -- keywords: +needs review stage: -> patch review versions: +Python 2.7, Python 3.3 -Python 2.6 ___

[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 probl