# HG changeset patch # Parent 671894ae19a24ac66312408e9258c3ca8b865574 diff -r 671894ae19a2 Lib/distutils/sysconfig.py --- a/Lib/distutils/sysconfig.py Mon Jul 02 13:29:57 2012 -0700 +++ b/Lib/distutils/sysconfig.py Mon Jul 16 13:48:26 2012 +0100 @@ -102,8 +102,10 @@ if plat_specific: return base else: + # GRAMMAR_H is in the include directory + incdir = os.path.dirname(get_config_var('GRAMMAR_H')) incdir = os.path.join(_sys_home or get_config_var('srcdir'), - 'Include') + incdir) return os.path.normpath(incdir) python_dir = 'python' + get_python_version() + build_flags return os.path.join(prefix, "include", python_dir)