cython/cython — pull request #158 by juliantaylor (2012-11-18 12:50:08+00:00)
Title: add platform specific include directory to compile line

beginning with python3.3 it is different than the general include directory on debian based systems

without this change an embed test fails, see:
https://launchpadlibrarian.net/123283466/buildlog_ubuntu-raring-amd64.cython_0.17.1-1_FAILEDTOBUILD.txt.gz

ubuntu 13.04:
>>> from distutils import sysconfig; print(sysconfig.get_python_inc(plat_specific=True))
/usr/include/x86_64-linux-gnu/python3.3m
>>> from distutils import sysconfig; print(sysconfig.get_python_inc())
/usr/include/python3.3m

alternatively one could use $(PYTHON)-config --includes to get the full line