All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Fix some issues at scripts/sphinx-pre-install
@ 2021-05-25 13:27 Mauro Carvalho Chehab
  2021-05-25 13:27 ` [PATCH 1/2] scripts: sphinx-pre-install: rework the sphinx install logic Mauro Carvalho Chehab
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Mauro Carvalho Chehab @ 2021-05-25 13:27 UTC (permalink / raw)
  To: Jonathan Corbet, Linux Doc Mailing List
  Cc: Mauro Carvalho Chehab, linux-kernel, Mauro Carvalho Chehab

Currently, when using with --no-virtualenv, the script doesn't behave well,
as it prints both instructions to install Sphinx via distribution's package
manager and via pip.

Address it.

While here, rework the logic which recommends Sphinx install, by
splitting it into three parts and making easier to maintain it, as
there are too much complexity there. Splitting the Sphinx part
of the logic on 3 separate functions allow to detect if the venv/virtualenv
python packages are needed or not, and helps to have a cleaner
logic.

Mauro Carvalho Chehab (2):
  scripts: sphinx-pre-install: rework the sphinx install logic
  scripts: sphinx-pre-install: fix the need of virtenv packages

 scripts/sphinx-pre-install | 262 +++++++++++++++++++++++++------------
 1 file changed, 180 insertions(+), 82 deletions(-)

-- 
2.31.1



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-06-01 22:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-25 13:27 [PATCH 0/2] Fix some issues at scripts/sphinx-pre-install Mauro Carvalho Chehab
2021-05-25 13:27 ` [PATCH 1/2] scripts: sphinx-pre-install: rework the sphinx install logic Mauro Carvalho Chehab
2021-05-25 13:27 ` [PATCH 2/2] scripts: sphinx-pre-install: fix the need of virtenv packages Mauro Carvalho Chehab
2021-06-01 22:29 ` [PATCH 0/2] Fix some issues at scripts/sphinx-pre-install Jonathan Corbet

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.