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-g0dkzHWvG4DoZj9JLpOvwymn+T3K9naZPFsNPbj_3ZrBtw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [pgadmin-hackers] [pgAdmin4] [PATCH] Simplify Server's python setup  (Dave Page <dpage@pgadmin.org>)
Список pgadmin-hackers
On Wed, Jan 25, 2017 at 12:39 PM Dave Page <dpage@pgadmin.org> wrote:
As far as I can see, this breaks usage in development environments, or
any configurations where the Python code may be separated from the
runtime. Am I missing something?

What kind of setup are you talking about? It's not clear to me.

If the venv doesn't exist, the program name becomes "/python" and you get the standard environment including whatever packages you installed with "pip install" or "pip install --user".

Granted, "/python" is nonsense and should probably just be "python". Also, I think PATH doesn't need to be touched at all anymore, so the lines involving pathEnv can be removed.

How about a settings key to force the program name? That would allow choosing any other virtualenv to run with.

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

Предыдущее
От: Dave Page
Дата:
Сообщение: Re: [pgadmin-hackers] [pgAdmin4][Patch]: RM1840 - cannot create gistindex due to enforced ASC, DESC options in generated SQL
Следующее
От: Dave Page
Дата:
Сообщение: Re: [pgadmin-hackers] [pgAdmin4] [PATCH] Simplify Server's python setup