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: ->
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
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
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
___
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
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).
--
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
É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
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
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
10 matches
Mail list logo