[doc] replace python with python3 in shell commands
authorNicolas Chauvat <nicolas.chauvat@logilab.fr>
Sun, 02 Feb 2020 22:15:38 +0100
changeset 12881 38fcf5707295
parent 12880 59d4ad7e7df3
child 12882 3ddd03309315
[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	Sat Feb 08 22:57:59 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	Sat Feb 08 22:57:59 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	Sat Feb 08 22:57:59 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
 -------