RPM question: Where to put psycopg2 files

Поиск
Список
Период
Сортировка
От Devrim GÜNDÜZ
Тема RPM question: Where to put psycopg2 files
Дата
Msg-id 1295247545.2508.27.camel@lenovo01-laptop03.gunduz.org
обсуждение исходный текст
Ответы Re: RPM question: Where to put psycopg2 files  (Federico Di Gregorio <federico.digregorio@dndg.it>)
Re: RPM question: Where to put psycopg2 files  ("Alexander Loechel" <Alexander.Loechel@unibw.de>)
Список 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


Вложения

В списке psycopg по дате отправления:

Предыдущее
От: Alexander Loechel
Дата:
Сообщение: Re: Please help fixing a couple of zope-related issues
Следующее
От: Federico Di Gregorio
Дата:
Сообщение: Re: RPM question: Where to put psycopg2 files