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