[issue16907] Distutils fails to build extension in path with spaces

2016-01-18 Thread Zachary Ware
Zachary Ware added the comment: This isn't obviously a distutils bug, but sounds strikingly similar to #4508. Closing as a duplicate of #4508. -- assignee: eric.araujo -> nosy: +zach.ware resolution: -> duplicate stage: needs patch -> resolved status: open -> closed superseder: ->

[issue16907] Distutils fails to build extension in path with spaces

2014-07-30 Thread Mark Lawrence
Mark Lawrence added the comment: Of the two issues mentioned in msg179485 #4508 is still open but #13765 has been closed not a bug. -- nosy: +BreamoreBoy versions: +Python 3.4, Python 3.5 ___ Python tracker rep...@bugs.python.org

[issue16907] Distutils fails to build extension in path with spaces

2013-01-09 Thread klo uo
New submission from klo uo: I noticed this issue, while trying to compile Cython extension, when source file is in path with spaces. Extension wouldn't compile because LIBDIR is passed to MinGW g++ (though not to gcc) or MSVC compilers unquoted. I tracked the problem to distutils/build_ext.py

[issue16907] Distutils fails to build extension in path with spaces

2013-01-09 Thread Ramchandra Apte
Ramchandra Apte added the comment: Can you fix the bare except? -- nosy: +ramchandra.apte ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16907 ___

[issue16907] Distutils fails to build extension in path with spaces

2013-01-09 Thread klo uo
klo uo added the comment: Can you fix the bare except? ... except ImportError: pass -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16907

[issue16907] Distutils fails to build extension in path with spaces

2013-01-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: get_ext_fullpath() has no relations to this bug. The bug is probably in spawn()  functions, perhaps in _nt_quote_args() or something like. It looks as Windows specific bug (Posix passes command arguments as a list, not joining it into string). --

[issue16907] Distutils fails to build extension in path with spaces

2013-01-09 Thread Martin v . Löwis
Martin v. Löwis added the comment: klo.uo: can you kindly provide a working (or, rather, failing) example? A trivial hello-world kind of package could do, along with a report what path you unpacked it in, and what error you get. Your patch is not applicable to Python, since it requires the

[issue16907] Distutils fails to build extension in path with spaces

2013-01-09 Thread Éric Araujo
Éric Araujo added the comment: I think this is a duplicate report; could you please search for an existing open report for the same bug? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16907

[issue16907] Distutils fails to build extension in path with spaces

2013-01-09 Thread klo uo
klo uo added the comment: klo.uo: can you kindly provide a working (or, rather, failing) example? A trivial hello-world kind of package could do, along with a report what path you unpacked it in, and what error you get. As mentioned in opening thread, this doesn't happen with Cython's hello

[issue16907] Distutils fails to build extension in path with spaces

2013-01-09 Thread klo uo
klo uo added the comment: I found two similar issues: 1. distutils compiler not handling spaces in path to output/src files: http://bugs.python.org/issue4508 with patches for unix compiler and cygwin compiler 2. Distutils does not put quotes around paths that contain spaces when compiling