[PyPy-issue] [issue662] get_config_vars has nothing for CC, while expected internally

Martijn pypy-dev-issue at codespeak.net
Sun Mar 6 18:33:59 CET 2011

New submission from Martijn <ss at kleptog.org>:

Currently distutils.sysconfig.get_config_vars() has no value for CC. This means
that when you try to build a C extension using distutils it breaks, because
distutils internally uses get_config_vars() to determine the compiler

Attached is a patch that works for me, with this C extensions build normally
(excluding cpyext problems). But this may be a layering violation, so I'll leave
it to you guys to determine the correct fix. In any case it's an improvement
which improves compatibility.

effort: ???
files: distutils.patch
messages: 2267
nosy: kleptog, pypy-issue
priority: feature
release: ???
status: unread
title: get_config_vars has nothing for CC, while expected internally

PyPy development tracker <pypy-dev-issue at codespeak.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: distutils.patch
Type: text/x-diff
Size: 717 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/pypy-issue/attachments/20110306/f60afed5/attachment.patch>

More information about the Pypy-issue mailing list