Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 7E091475F22 for ; Sun, 15 Dec 2002 21:53:26 -0500 (EST) Received: from mailout02.sul.t-online.com (mailout02.sul.t-online.com [194.25.134.17]) by postgresql.org (Postfix) with ESMTP id E872E475BC3 for ; Sun, 15 Dec 2002 21:53:25 -0500 (EST) Received: from fwd02.sul.t-online.de by mailout02.sul.t-online.com with smtp id 18NlNj-00021q-00; Mon, 16 Dec 2002 03:53:23 +0100 Received: from gargamel.ghaering.test (510095183908-0001@[217.235.112.131]) by fmrl02.sul.t-online.com with esmtp id 18NlNh-1brE9IC; Mon, 16 Dec 2002 03:53:21 +0100 Received: by gargamel.ghaering.test (Postfix, from userid 1000) id 3B09D3A1; Mon, 16 Dec 2002 03:51:21 +0100 (CET) Date: Mon, 16 Dec 2002 03:51:21 +0100 From: Gerhard Haering To: Bruce Momjian Cc: PostgreSQL-interfaces , darcy@druid.net Subject: Re: python bug Message-ID: <20021216025120.GB4825@gargamel.ghaering.test> References: <200212150150.gBF1oEJ19799@candle.pha.pa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200212150150.gBF1oEJ19799@candle.pha.pa.us> Organization: People's Front of Judea User-Agent: Mutt/1.5.1i X-Sender: 510095183908-0001@t-dialin.net X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200212/54 X-Sequence-Number: 3467 * Bruce Momjian [2002-12-14 20:50 -0500]: > I saw this in the python source setup.py: > > include_dirs=['/usr/include/pgsql'] > library_dirs=['usr/lib/pgsql'] > ^^^ > optional_libs=['pq'] > data_files = [] > > Is the lack of a leading slash correct? No. It should really be library_dirs=['/usr/lib/pgsql'] *But* is this really the default place where PostgreSQL installs its libraries? I thought this was rather /usr/local/lib? If anybody wants to improve the setup.py part of PyGreSQL, I'd recommend you take a look at the setup.py file for our altnernative PostgreSQL/Python adapter: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/pypgsql/pypgsql/setup.py?rev=HEAD&content-type=text/vnd.viewcvs-markup We recently put considerable effort in to make pyPgSQL build out of the box on many platforms (Debian, SuSE, Redhat Linux, FreeBSD, OpenUnix, Windows, MacOS X, Cygwin plus untested support for a few other platforms). And of course pyPgSQL is licensed under a liberal BSD-like license as well :-) Btw. another question. I noticed that a few interfaces (Perl comes to mind) have been moved out of the PostgreSQL tree to gborg. Maybe it'd be a good idea to do that for PyGreSQL as well? -- Gerhard