Re: Quick question about install - Mailing list psycopg

From Daniele Varrazzo
Subject Re: Quick question about install
Date
Msg-id BANLkTim2xjsHs-UrbmJ29NLFDkr8-YhGDw@mail.gmail.com
Whole thread Raw
In response to Quick question about install  (Patrick Wong <pwong@optionshouse.com>)
List psycopg
On Mon, Jun 20, 2011 at 5:51 PM, Patrick Wong <pwong@optionshouse.com> wrote:

> I could not find this information on your website, but is there a way to
> install psycopg2 without pg_config?  Our environment uses only remote
> connections to the database server.

No, not out-of-the-box. pg_config is used to locate the postgres
client-side libraries required by psycopg in a portable way. If you
have the development libraries and include files, you usually have
pg_config too.

Of course if you know what you are doing you can hack the setup.py and
supply the informations required replacing the function calling
pg_config with a mock returning hardcoded values.

-- Daniele

psycopg by date:

Previous
From: Patrick Wong
Date:
Subject: Quick question about install
Next
From: maplabs@light42.com
Date:
Subject: Re: Quick question about install