Fixed setup.py buglet.

This commit is contained in:
Federico Di Gregorio 2006-04-27 14:20:11 +00:00
parent 3806f9688b
commit 750806c806
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-04-38 Federico Di Gregorio <fog@initd.org>
* setup.py: fixed little problem with mx_include_dir as suggested
by kvc (this closes #102).
2006-04-24 Federico Di Gregorio <fog@initd.org> 2006-04-24 Federico Di Gregorio <fog@initd.org>
* psycopg/adapter_pboolean.c: added the possibility to format boolean * psycopg/adapter_pboolean.c: added the possibility to format boolean

View File

@ -92,7 +92,8 @@ class psycopg_build_ext(build_ext):
self.use_pg_dll = 1 self.use_pg_dll = 1
self.pgdir = None self.pgdir = None
self.pg_config = self.DEFAULT_PG_CONFIG self.pg_config = self.DEFAULT_PG_CONFIG
self.mx_include_dir = None
def get_pg_config(self, kind): def get_pg_config(self, kind):
p = popen2.popen3(self.pg_config + " --" + kind) p = popen2.popen3(self.pg_config + " --" + kind)
r = p[0].readline().strip() r = p[0].readline().strip()