From afeb7cf8b1c627a5dcc3afa79559b3de70dd717d Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Thu, 30 Apr 2009 16:15:09 +0000 Subject: [PATCH] Use directories listed in INCLUDEDIRS --- setup.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.py b/setup.py index c4d53231d..2536bcc58 100644 --- a/setup.py +++ b/setup.py @@ -134,6 +134,9 @@ else: '/usr/include/python' + python_version, sysconfig.get_config_var("INCLUDEDIR") ] + for include in os.environ["INCLUDEDIR"].split(":"): + _include_dirs.append(include) + _library_dirs += [sysconfig.get_config_var("LIBDIR"), '/opt/local/lib'] if osx_check(): _include_dirs += [