Re: Building psycopg against particular Python

Phil Frost <phil-ccIMtrbOHagrFdah4VhHuVaTQe2KTcn/@public.gmane.org>
Newsgroups gmane.comp.python.db.psycopg.devel
Message-ID <[email protected]>
I believe psycopg2 should build with whatever python is used to  
invoke setup.py. So, if your python is at ~/bin/python, try "~/bin/ 
python setup.py install --home=~" or something along those lines.

On Jan 24, 2008, at 12:28 , 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?
>
> Thanks,
> Michael
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.