# HG changeset patch # User Nicolas Chauvat # Date 1580678138 -3600 # Node ID de90a96be6f0b2f808dbb7f0910b0badc6243496 # Parent c91685a3c7313de65377146b57e5231d245c1334 [doc] replace python with python3 in shell commands diff -r c91685a3c731 -r de90a96be6f0 doc/book/admin/setup.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 `_). 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 ` to `user`. This will diff -r c91685a3c731 -r de90a96be6f0 doc/tutorials/advanced/part02_security.rst --- 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 ====================================================================== . ---------------------------------------------------------------------- diff -r c91685a3c731 -r de90a96be6f0 doc/tutorials/tools/windmill.rst --- 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 `_. Be sure to have the windmill module in your PYTHONPATH afterwards:: - $ python -c "import windmill" + $ python3 -c "import windmill" X dummy -------