[doc] replace python with python3 in shell commands 3.27
authorNicolas Chauvat <nicolas.chauvat@logilab.fr>
Sun, 02 Feb 2020 22:15:38 +0100
branch3.27
changeset 12873 de90a96be6f0
parent 12872 c91685a3c731
child 12893 4942a6ebf21b
[doc] replace python with python3 in shell commands
doc/book/admin/setup.rst
doc/tutorials/advanced/part02_security.rst
doc/tutorials/tools/windmill.rst
--- a/doc/book/admin/setup.rst	Tue Feb 11 10:52:33 2020 +0100
+++ b/doc/book/admin/setup.rst	Sun Feb 02 22:15:38 2020 +0100
@@ -123,11 +123,11 @@
 
 For Debian, these minimal dependencies can be obtained by doing::
 
-  apt-get install gcc python-pip python-dev python-lxml
+  apt-get install gcc python3-pip python3-dev python3-lxml
 
 or, if you prefer to get as much as possible from pip::
 
-  apt-get install gcc python-pip python-dev libxslt1-dev libxml2-dev
+  apt-get install gcc python3-pip python3-dev libxslt1-dev libxml2-dev
 
 For Windows, you can install pre-built packages (possible `source
 <http://www.lfd.uci.edu/~gohlke/pythonlibs/>`_). For a minimal setup, install:
@@ -166,7 +166,7 @@
 Once uncompressed, you can install the framework from inside the uncompressed
 folder with::
 
-  python setup.py install
+  python3 setup.py install
 
 Or you can run |cubicweb| directly from the source directory by
 setting the :ref:`resource mode <RessourcesConfiguration>` to `user`. This will
--- a/doc/tutorials/advanced/part02_security.rst	Tue Feb 11 10:52:33 2020 +0100
+++ b/doc/tutorials/advanced/part02_security.rst	Sun Feb 02 22:15:38 2020 +0100
@@ -402,7 +402,7 @@
 
 .. sourcecode:: bash
 
-    $ python test/test_sytweb.py
+    $ python3 test/test_sytweb.py
     ======================================================================
     -> creating tables [====================]
     -> inserting default user and default groups.
@@ -420,7 +420,7 @@
 
 .. sourcecode:: bash
 
-    $ python test/test_sytweb.py
+    $ python3 test/test_sytweb.py
     ======================================================================
     .
     ----------------------------------------------------------------------
--- a/doc/tutorials/tools/windmill.rst	Tue Feb 11 10:52:33 2020 +0100
+++ b/doc/tutorials/tools/windmill.rst	Sun Feb 02 22:15:38 2020 +0100
@@ -31,13 +31,13 @@
 
     $ git clone git://github.com/windmill/windmill.git HEAD
     $ cd windmill
-    $ python setup.py develop
+    $ python3 setup.py develop
 
 Install instructions are `available <http://wiki.github.com/windmill/windmill/installing>`_.
 
 Be sure to have the windmill module in your PYTHONPATH afterwards::
 
-    $ python -c "import windmill"
+    $ python3 -c "import windmill"
 
 X dummy
 -------