Commit 38a9f0b0 authored by Nicolas Chauvat's avatar Nicolas Chauvat
Browse files

[doc] replace python with python3 in shell commands

--HG--
branch : 3.27
parent c91685a3c731
......@@ -123,11 +123,11 @@ and `libgecode <http://www.gecode.org/>`_ will help.
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 @@ Make sure you also have all the :ref:`InstallDependencies`.
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
......
......@@ -402,7 +402,7 @@ To run it type:
.. sourcecode:: bash
$ python test/test_sytweb.py
$ python3 test/test_sytweb.py
======================================================================
-> creating tables [====================]
-> inserting default user and default groups.
......@@ -420,7 +420,7 @@ test instance. The second one will be much quicker:
.. sourcecode:: bash
$ python test/test_sytweb.py
$ python3 test/test_sytweb.py
======================================================================
.
----------------------------------------------------------------------
......
......@@ -31,13 +31,13 @@ to used the last snapshot of the Git repository::
$ 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
-------
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment