diff options
author | Mark Sapiro <msapiro@value.net> | 2013-01-10 20:01:33 -0800 |
---|---|---|
committer | Mark Sapiro <msapiro@value.net> | 2013-01-10 20:01:33 -0800 |
commit | ee4bef0ca47fa6c7b5f1874d254572667c12f164 (patch) | |
tree | 0fee8d9f254889c28fe04801cbd4046816708d0c | |
parent | fed2c1a29ddfb59b215f5091f02f782d7f944240 (diff) | |
download | mailman2-ee4bef0ca47fa6c7b5f1874d254572667c12f164.tar.gz mailman2-ee4bef0ca47fa6c7b5f1874d254572667c12f164.tar.xz mailman2-ee4bef0ca47fa6c7b5f1874d254572667c12f164.zip |
Changed configure's method for getting Python's include directory from
distutils.sysconfig.get_config_var('CONFINCLUDEPY') to
distutils.sysconfig.get_python_inc(). (LP: 1098162)
-rw-r--r-- | NEWS | 4 | ||||
-rwxr-xr-x | configure | 2 | ||||
-rw-r--r-- | configure.in | 2 |
3 files changed, 6 insertions, 2 deletions
@@ -45,6 +45,10 @@ Here is a history of user visible changes to Mailman. Bug Fixes and other patches + - Changed configure's method for getting Python's include directory from + distutils.sysconfig.get_config_var('CONFINCLUDEPY') to + distutils.sysconfig.get_python_inc(). (LP: 1098162) + - Added an Auto-Generated: header to password reminders. (LP: 558240) - Fixed a bug where non-ascii characters in the real name in a subscription @@ -2053,7 +2053,7 @@ else: # some RedHat packages put distutils in python, but the C headers # are in python-devel so check for headers too. import os.path - pdothpath = distutils.sysconfig.get_config_var('CONFINCLUDEPY') + pdothpath = distutils.sysconfig.get_python_inc() if os.path.isfile(os.path.join(pdothpath, "Python.h")): res = "yes" else: diff --git a/configure.in b/configure.in index b2cae853..1ee55b96 100644 --- a/configure.in +++ b/configure.in @@ -194,7 +194,7 @@ else: # some RedHat packages put distutils in python, but the C headers # are in python-devel so check for headers too. import os.path - pdothpath = distutils.sysconfig.get_config_var('CONFINCLUDEPY') + pdothpath = distutils.sysconfig.get_python_inc() if os.path.isfile(os.path.join(pdothpath, "Python.h")): res = "yes" else: |