Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Do not depend on pg_config

#218

Submitted by: Alper

Hello,

For local development our django project needs to install psycopg even though we do not use it locally.

This installation depends on the pg_config command being available somewhere on the system. I can attest to the huge amount of grief this causes my designer coworkers even with the help of homebrew.

Could you make it so that psycopg installs with pip without needing this dependency?

Reported by Psycopg website · May 27th, 2014 @ 04:00 PM

State: invalid
Milestone: none
Assigned to: nobody

Activity

  1. Daniele Varrazzo
    Daniele Varrazzo
    • State changed from new to invalid

    No, we cannot.

    I find hard to think you have libpq installed but not pg_config.

    You can write your own pg_config stub script and fake the questions setup.py makes it. We won't guess defaults likely to be broken as it would cause much more grief than yours to people with an installation that is not broken.

    May 27th, 2014 @ 09:21 PM