mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-23 01:16:34 +03:00
Fixed setup.py buglet.
This commit is contained in:
parent
3806f9688b
commit
750806c806
|
@ -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
|
||||||
|
|
3
setup.py
3
setup.py
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user