Greg Toombs <gtoo...@lakeheadu.ca> added the comment:

Confirmed still broken in 3.6.3.

I ran into this when running CFFI. It does very wrong things with the path to 
cl.exe and include files with path spaces.

My workaround is to monkeypatch distutils.ccompiler.gen_preprocess_options such 
that include paths are formed as -I"path" and not -Ipath; and to monkeypatch 
distutils.spawn._nt_quote_args so that it leaves all of the arguments unquoted 
except the first arg (path to cl.exe), which I only got working by using 
tilde-mangled short names.

----------
nosy: +Greg Toombs
versions: +Python 3.6

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue4508>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to