]> git.baikalelectronics.ru Git - kernel.git/commit
scripts: sphinx-pre-install: add support for python -m venv
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 14 Apr 2020 16:56:13 +0000 (18:56 +0200)
committerJonathan Corbet <corbet@lwn.net>
Mon, 20 Apr 2020 21:19:13 +0000 (15:19 -0600)
commitcbcd07a85f8642d119152fb2ba31b03dfc22f6bb
tree36a8a4a21ea22c06522b440f968bf259e245ff9f
parent3b0eafff60b5ec8f97ea69f41874ceee370cb7a6
scripts: sphinx-pre-install: add support for python -m venv

Since python 3.3, the recommended way to setup a virtual env is
via "python -m venv".

Set this as a default, if python version is compatible with
such feature.

While here, add more comments to it, as the script is
getting more complex. So, better to add more things, to avoid
accidentally breaking it while improving it.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/252cc849c79527ad496247e4c481961478adf41c.1586883286.git.mchehab+huawei@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
scripts/sphinx-pre-install