Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 7350D47641A for ; Mon, 30 Dec 2002 00:10:02 -0500 (EST) Received: from candle.pha.pa.us (momjian.navpoint.com [207.106.42.251]) by postgresql.org (Postfix) with ESMTP id EE77C47639D for ; Mon, 30 Dec 2002 00:09:58 -0500 (EST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id gBU59vl25014; Mon, 30 Dec 2002 00:09:57 -0500 (EST) From: Bruce Momjian Message-Id: <200212300509.gBU59vl25014@candle.pha.pa.us> Subject: Re: python bug In-Reply-To: <20021216025120.GB4825@gargamel.ghaering.test> To: Gerhard Haering Date: Mon, 30 Dec 2002 00:09:57 -0500 (EST) Cc: PostgreSQL-interfaces , darcy@druid.net X-Mailer: ELM [version 2.4ME+ PL99 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200212/83 X-Sequence-Number: 3496 Fix applied. I think we will be moving python and tcl out of /interfaces to gborg for 7.4. --------------------------------------------------------------------------- Gerhard Haering wrote: > * 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 > -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073