From: | Devrim GÜNDÜZ <devrim(at)gunduz(dot)org> |
---|---|
To: | psycopg(at)postgresql(dot)org |
Subject: | RPM question: Where to put psycopg2 files |
Date: | 2011-01-17 06:59:05 |
Message-ID: | 1295247545.2508.27.camel@lenovo01-laptop03.gunduz.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | psycopg |
Hi,
As of PostgreSQL 9.0+, PostgreSQL RPMs can be installed in parallel,
e.g., you can use 9.0 along with 9.1. I updated most of the packages to
use that layout, but I'm stuck with psycopg2.
psycopg2 is currently installed under this directory:
`python -c "from distutils.sysconfig import get_python_lib; print
get_python_lib(1)"`/psycopg2
For example,
/usr/lib64/python2.7/site-packages/psycopg2/
If I want to install two different psycopg2 versions which are compiled
against 9.0 and 9.1, they will overwrite each other.
What is the best way to use separate directories for that? Is there a
setup.py parameter for that?
Regards,
--
Devrim GÜNDÜZ
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
PostgreSQL RPM Repository: http://yum.pgrpms.org
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org Twitter: http://twitter.com/devrimgunduz
From | Date | Subject | |
---|---|---|---|
Next Message | Federico Di Gregorio | 2011-01-17 08:05:40 | Re: RPM question: Where to put psycopg2 files |
Previous Message | Alexander Loechel | 2011-01-14 18:17:04 | Re: Please help fixing a couple of zope-related issues |