21494: Refine Python SDK documentation requirements
authorBrett Smith <brett.smith@curii.com>
Wed, 21 Feb 2024 16:01:11 +0000 (11:01 -0500)
committerBrett Smith <brett.smith@curii.com>
Wed, 21 Feb 2024 16:01:11 +0000 (11:01 -0500)
Installing `python3-pip` is unnecessary, it'll be in the virtualenv.

Explicitly install setuptools as PEP 517/518 futureproofing.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

doc/README.textile

index 4c807a3dd61180d4d041bb729d6e0ab41dc0dff6..59dca48dd6439e16bad68d8c6b8f80c5e3c38650 100644 (file)
@@ -20,9 +20,9 @@ arvados/doc$ bundle install
 To generate the Python SDK documentation, these additional dependencies are needed:
 
 <pre>
-arvados/doc$ sudo apt install python3-pip python3-venv
+arvados/doc$ sudo apt install python3-venv
 arvados/doc$ python3 -m venv .venv
-arvados/doc$ .venv/bin/pip install pdoc
+arvados/doc$ .venv/bin/pip install pdoc setuptools
 </pre>
 
 Then you must activate the virtualenv (e.g., run @. .venv/bin/activate@) before you run the @bundle exec rake@ commands below.