# used by configure to generate the list of python specific libraries... from distutils.sysconfig import get_config_vars conf = get_config_vars() incl = "-I%s" % (conf['INCLUDEPY'],) print incl