Author danh
Recipients danh, dstufft, eric.araujo
Date 2018-06-30.15:29:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1530372554.62.0.56676864532.issue34012@psf.upfronthosting.co.za>
In-reply-to
Content
The distutils.core.Extension class has a constructor argument `include_dirs`, which includes each directory with `-I`. However, it is sometimes desirable to include additional system headers using `-isystem`. Currently, this is only possible by manually constructing the compiler argument and passing it to the `extra_compile_args` argument of distutils.core.Extension.

Since `-isystem` is a commonly used compiler option, I think it would be useful to add a new argument and attribute to distutils.core.Extension called `system_include_dirs`, which would use `-isystem` instead of `-I` when building the compiler command.
History
Date User Action Args
2018-06-30 15:29:14danhsetrecipients: + danh, eric.araujo, dstufft
2018-06-30 15:29:14danhsetmessageid: <1530372554.62.0.56676864532.issue34012@psf.upfronthosting.co.za>
2018-06-30 15:29:14danhlinkissue34012 messages
2018-06-30 15:29:14danhcreate