Fixed use of use_pydatetime in setup.cfg.

This commit is contained in:
Federico Di Gregorio 2006-09-01 08:44:57 +00:00
parent d7100abbbe
commit 4138409ab6
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2006-09-01 Federico Di Gregorio <fog@initd.org>
* setup.py: removed pydatetime option from initialize_options
to make sure that the value in setup.cfg is used.
* psycopg/psycopgmodule.c: applied patch from jdahlin (#120)
to have .connect() accept either a string or int as the port
parameter.

View File

@ -95,7 +95,6 @@ class psycopg_build_ext(build_ext):
def initialize_options(self):
build_ext.initialize_options(self)
self.use_pydatetime = 1
self.use_pg_dll = 1
self.pgdir = None
self.pg_config = self.DEFAULT_PG_CONFIG