Re: Quick question about install

From: Daniele Varrazzo <daniele(dot)varrazzo(at)gmail(dot)com>
To: Patrick Wong <pwong(at)optionshouse(dot)com>
Cc: "psycopg(at)postgresql(dot)org" <psycopg(at)postgresql(dot)org>
Subject: Re: Quick question about install
Date: 2011-06-22 13:50:25
Message-ID: BANLkTim2xjsHs-UrbmJ29NLFDkr8-YhGDw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: psycopg

On Mon, Jun 20, 2011 at 5:51 PM, Patrick Wong <pwong(at)optionshouse(dot)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

In response to

Browse psycopg by date

  From Date Subject
Next Message maplabs 2011-06-22 15:07:35 Re: Quick question about install
Previous Message Patrick Wong 2011-06-20 16:51:56 Quick question about install