Re: Psycopg 2.7.4 released

Поиск
Список
Период
Сортировка
От Daniele Varrazzo
Тема Re: Psycopg 2.7.4 released
Дата
Msg-id CA+mi_8YBNcgbguijY=0_RCVQeDi-2Mav8oVL_Yk6uUeDWEVtrw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Psycopg 2.7.4 released  (Federico <rotellaro@gmail.com>)
Ответы Re: Psycopg 2.7.4 released  (Federico <rotellaro@gmail.com>)
Список psycopg
Sorry, wrong send earlier...

On 8 Feb 2018 7:04 p.m., "Federico" <rotellaro@gmail.com> wrote:

I was just wondering how can I manage this separation in the setup.py (install_requires argument).
Currently I list psycopg2>=2.7.3.

Shall I follow the pattern and create two different source packages or do you recommend a different approach?

If binary packages work as expected you may just use that as a dependency, so "psycopg2-binary>=2.7.3" should do.

But now it occurs to me that the choice of not releasing a source package under psycopg2-binary was probably wrong: if you update your requirements as above, installation would fail if the user has an old pip version, or a non glibc architecture (e.g. Linux Alpine).

I'll create the missing package tomorrow morning. Once done, if your app is not a multithread program also using the system ssh, depending on binary is enough, I don't see reason for two packages.

Cheers

-- Daniele 

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

Предыдущее
От: Daniele Varrazzo
Дата:
Сообщение: Re: Psycopg 2.7.4 released
Следующее
От: Federico
Дата:
Сообщение: Re: Psycopg 2.7.4 released