# used by configure to generate the list of python specific libraries... from distutils.sysconfig import get_config_vars conf = get_config_vars() print conf['VERSION']