Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1688541
| From | Mauro Carvalho Chehab <mchehab@s-opensource.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 3/5] sphinx-pre-install: use a requirements file |
| Date | 2017-07-17 00:10 +0200 |
| Message-ID | <u3ZTH-4Nr-3@gated-at.bofh.it> (permalink) |
| References | <u3ZTH-4Nr-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Instead of using 3 commands to install a virtualenv, use a single one, reading the requirements from this file: Documentation/sphinx/requirements.txt Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> --- scripts/sphinx-pre-install | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/sphinx-pre-install b/scripts/sphinx-pre-install index bcd6f7978f8d..230d9cc7ee1d 100755 --- a/scripts/sphinx-pre-install +++ b/scripts/sphinx-pre-install @@ -14,6 +14,7 @@ use strict; # GNU General Public License for more details. my $virtenv_dir = "sphinx_1.4"; +my $requirement_file = "Documentation/sphinx/requirements.txt"; # # Static vars @@ -467,9 +468,7 @@ sub check_needs() printf "\t$virtualenv $virtenv_dir\n"; printf "\t. $activate\n"; - printf "\tpip install 'docutils==0.12'\n"; - printf "\tpip install 'Sphinx==1.4.9'\n"; - printf "\tpip install sphinx_rtd_theme\n"; + printf "\tpip install -r $requirement_file\n"; $need++; } } -- 2.13.3
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH 3/5] sphinx-pre-install: use a requirements file Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2017-07-17 00:10 +0200
Re: [PATCH 3/5] sphinx-pre-install: use a requirements file Markus Heiser <markus.heiser@darmarit.de> - 2017-07-17 08:10 +0200
Re: [PATCH 3/5] sphinx-pre-install: use a requirements file Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2017-07-17 11:40 +0200
csiph-web