On Fri, Feb 22, 2019 at 11:03:03AM +0100, Juergen Borleis wrote: > In order to build the PTXdist documentation a virtualenv is a useful > helper. This change mentions its correct setup. > > Signed-off-by: Juergen Borleis <[email protected]> > --- > doc/including_bsp_doc.inc | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/doc/including_bsp_doc.inc b/doc/including_bsp_doc.inc > index cfccc45b4..d4abcd8ea 100644 > --- a/doc/including_bsp_doc.inc > +++ b/doc/including_bsp_doc.inc > @@ -32,6 +32,7 @@ when not globally present in the host system. > .. code-block:: text > > $ pip3 install --upgrade --user pip virtualenv > + $ virtualenv -p python3 env
We've had a patch like this before. I think the correct way to create this is: $ python3 -m venv env And the 'pip3 install ...' above is no longer needed. Unfortunately I didn't get any feedback from the Python experts about this... Michael > $ source env/bin/activate > $ pip3 install sphinx > $ pip3 install sphinx_rtd_theme > -- > 2.11.0 > > > _______________________________________________ > ptxdist mailing list > [email protected] -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ ptxdist mailing list [email protected]
