Re: Building psycopg against particular Python
Philip Semanchuk <[email protected]>
| Newsgroups | gmane.comp.python.db.psycopg.devel |
|---|---|
| Message-ID | <[email protected]> |
On Jan 24, 2008, at 12:28 PM, Michael Hipp wrote: > Hello, > > I'm trying to build Psycopg2 in an RHEL environment where I don't have > root access. I need to build it against an install of Python that > is not > in the "normal" system wide location but instead is installed in my > home > directory. > > How do I point Psycopg2's build process to that "non default" > install of > Python? Hi Michael, I recently installed Python 2.5 on my OS X laptop alongside Python 2.3 which comes installed by default. Psycopg2 and all other Python programs that I've installed which use setup.py automatically find Python 2.5 as long as its executable comes first in my path. The same would probably work for you. HTH Philip