This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Greg Toombs
Recipients Greg Toombs, Thorney, alexis, ceball, drunax, dstufft, eric.araujo, fishdude, ipatrol, loewis, tarek
Date 2018-08-13.02:28:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1534127320.2.0.56676864532.issue4508@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2018-08-13 02:28:40Greg Toombssetrecipients: + Greg Toombs, loewis, ceball, tarek, eric.araujo, Thorney, ipatrol, alexis, fishdude, dstufft, drunax
2018-08-13 02:28:40Greg Toombssetmessageid: <1534127320.2.0.56676864532.issue4508@psf.upfronthosting.co.za>
2018-08-13 02:28:40Greg Toombslinkissue4508 messages
2018-08-13 02:28:38Greg Toombscreate