From 4316ddf30ad99ae7cc673d4554d4a70bb4e332cd Mon Sep 17 00:00:00 2001 From: Federico Di Gregorio Date: Thu, 17 Nov 2005 13:37:47 +0000 Subject: [PATCH] Applied Darwin patch from #70. --- setup.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup.py b/setup.py index 95b489ce..cb2ac181 100644 --- a/setup.py +++ b/setup.py @@ -170,9 +170,13 @@ class psycopg_build_ext(build_ext): fink installs lots of goodies in /sw/... - make sure we check there """ + self.include_dirs.append("/sw/include") self.include_dirs.append("/sw/include/postgresql") + self.include_dirs.append("/sw/include/postgresql/server") self.library_dirs.append("/sw/lib") + self.include_dirs.append("/opt/local/include") self.include_dirs.append("/opt/local/include/postgresql") + self.include_dirs.append("/opt/local/include/postgresql/server") self.library_dirs.append("/opt/local/lib") self.library_dirs.append("/usr/lib") self.libraries.append('ssl')