Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1688541 > unrolled thread

[PATCH 3/5] sphinx-pre-install: use a requirements file

Started byMauro Carvalho Chehab <mchehab@s-opensource.com>
First post2017-07-17 00:10 +0200
Last post2017-07-17 11:40 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [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

#1688541 — [PATCH 3/5] sphinx-pre-install: use a requirements file

FromMauro Carvalho Chehab <mchehab@s-opensource.com>
Date2017-07-17 00:10 +0200
Subject[PATCH 3/5] sphinx-pre-install: use a requirements file
Message-ID<u3ZTH-4Nr-3@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#1688677

FromMarkus Heiser <markus.heiser@darmarit.de>
Date2017-07-17 08:10 +0200
Message-ID<u47oe-1fK-9@gated-at.bofh.it>
In reply to#1688541
> Am 17.07.2017 um 00:08 schrieb Mauro Carvalho Chehab <mchehab@s-opensource.com>:
> 
> 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>

Hi Mauro,

I get a ..

 fatal: sha1 information is lacking or useless (Documentation/doc-guide/sphinx.rst)

and  I miss the Documentation/doc-guide/sphinx.rst file in this patch.

Did it only happened to me?

-- Markus --

[toc] | [prev] | [next] | [standalone]


#1688822

FromMauro Carvalho Chehab <mchehab@s-opensource.com>
Date2017-07-17 11:40 +0200
Message-ID<u4aFr-3eJ-3@gated-at.bofh.it>
In reply to#1688677
Em Mon, 17 Jul 2017 08:00:07 +0200
Markus Heiser <markus.heiser@darmarit.de> escreveu:

> > Am 17.07.2017 um 00:08 schrieb Mauro Carvalho Chehab <mchehab@s-opensource.com>:
> > 
> > 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>  
> 
> Hi Mauro,
> 
> I get a ..
> 
>  fatal: sha1 information is lacking or useless (Documentation/doc-guide/sphinx.rst)
> 
> and  I miss the Documentation/doc-guide/sphinx.rst file in this patch.
> 
> Did it only happened to me?

Sorry, I forgot to mention. This patch depends on the patch series I
posted before adding information about the Sphinx install procedures:

	[PATCH v2 0/6] Better document Sphinx install instructions
	https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1444295.html


Thanks,
Mauro

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web