From 750806c806649a59edc9409646de2423e2944bf7 Mon Sep 17 00:00:00 2001 From: Federico Di Gregorio Date: Thu, 27 Apr 2006 14:20:11 +0000 Subject: [PATCH] Fixed setup.py buglet. --- ChangeLog | 5 +++++ setup.py | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 5d49770a..c72bcdb2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-04-38 Federico Di Gregorio + + * setup.py: fixed little problem with mx_include_dir as suggested + by kvc (this closes #102). + 2006-04-24 Federico Di Gregorio * psycopg/adapter_pboolean.c: added the possibility to format boolean diff --git a/setup.py b/setup.py index b591c263..f3983289 100644 --- a/setup.py +++ b/setup.py @@ -92,7 +92,8 @@ class psycopg_build_ext(build_ext): self.use_pg_dll = 1 self.pgdir = None self.pg_config = self.DEFAULT_PG_CONFIG - + self.mx_include_dir = None + def get_pg_config(self, kind): p = popen2.popen3(self.pg_config + " --" + kind) r = p[0].readline().strip()