Re: [pgadmin-hackers] [pgAdmin4] [PATCH] Simplify Server's python setup

Поиск
Список
Период
Сортировка
От Jan Alexander Steffens
Тема Re: [pgadmin-hackers] [pgAdmin4] [PATCH] Simplify Server's python setup
Дата
Msg-id CAMQ-g0dxWFV_xOByCgVdyRSG2vywMjJ98H93=Rtxf+9bHOnDJA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [pgadmin-hackers] [pgAdmin4] [PATCH] Simplify Server's python setup  (Dave Page <dpage@pgadmin.org>)
Ответы Re: [pgadmin-hackers] [pgAdmin4] [PATCH] Simplify Server's python setup  (Dave Page <dpage@pgadmin.org>)
Список pgadmin-hackers
On Fri, Jan 27, 2017 at 5:56 PM Dave Page <dpage@pgadmin.org> wrote:
On Fri, Jan 27, 2017 at 1:37 PM, Jan Alexander Steffens
<jan.steffens@gmail.com> wrote:
> I did mean Py_SetPath, not PySys_SetPath.

Ah, OK - it wouldn't compile with that (Python 2 :-/ ) so I assumed it
was a typo.

> Unfortunately, after checking
> again it turns out this is Python 3 only. Python 2 has no means of changing
> the module_search_path from outside. So, there it definitely needs a
> restart. :-(

Yeah :-(. How does the attached patch look to you?

Looks good to me, thanks! I've tested both selecting a venv and the venv-beside-runtime.

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

Предыдущее
От: Neel Patel
Дата:
Сообщение: [pgadmin-hackers] [pgAdmin4][Patch]: RM#2015 - Trigger issues
Следующее
От: Surinder Kumar
Дата:
Сообщение: [pgadmin-hackers] [pgAdmin4][Patch]: RM2047 - Allow user to move panel over the menu bar