Sean Davis wrote:
> On Nov 27, 2007 5:00 PM, Christopher Hilton <[EMAIL PROTECTED]> wrote:
>> Does anyone know of a canned build of pygresql for Mac OS X? I can build
>> it from MacPorts but on Leopard that builds against python 2.4.x and
>> Leopard now includes python 2.5...
> 
> Hi, Chris.  If I were you, I would set up python easy_install and use
> that for installing python libraries.  It will generally just work.
> It then becomes as simple as doing:
> 
> easy_install pygresql
> 
> and the newest version will be installed to match up with the default
> python.  Do a google for easy_install.
> 

This looks great but I'm assuming that to make it work I already have to 
  have the postgresql client libraries installed on my machine to 
satisfy the dependency that will come from the pq module extension 
right? So just to talk my way through this then the way to make it work 
would be to:

      1) use Macports or Fink to install a postgresql client of some kind.

      2) Modify my shared library path.

      3) Use easy install against the new shared library path to build 
pygresql.

Optionally I could do this:

      2a) Tell easy_install to use the static postgresql libraries and 
build a static extension.

In any case either is a little out of my range with Mac OS X right now 
so I was wondering if someone had done 2a an packaged it.

-- Chris

-- Chris
_______________________________________________
PyGreSQL mailing list
[email protected]
http://mailman.vex.net/mailman/listinfo/pygresql

Reply via email to