summaryrefslogtreecommitdiff
path: root/docs/development
diff options
context:
space:
mode:
authorStephen Finucane <stephen@that.guru>2021-02-20 15:21:50 +0000
committerStephen Finucane <stephen@that.guru>2021-02-20 15:21:50 +0000
commit649fe9a241333c7836911251085270275f31e3b2 (patch)
tree5756093868e1b7fdd43bcdfc6239190f0faef296 /docs/development
parent576647e9e084d60b3c67dd56c47f1510a671f297 (diff)
downloadpatchwork-649fe9a241333c7836911251085270275f31e3b2.tar
patchwork-649fe9a241333c7836911251085270275f31e3b2.tar.gz
docs: Random Python 3 updates
Correct some documentation examples and other things to reflect the new, Python 3-only world. Signed-off-by: Stephen Finucane <stephen@that.guru>
Diffstat (limited to 'docs/development')
-rw-r--r--docs/development/installation.rst7
1 files changed, 2 insertions, 5 deletions
diff --git a/docs/development/installation.rst b/docs/development/installation.rst
index 244aabe..ff81229 100644
--- a/docs/development/installation.rst
+++ b/docs/development/installation.rst
@@ -231,9 +231,6 @@ packages using ``pip``:
$ sudo pip install virtualenv tox
-If you wish to use Python 3 then simply replace ``python`` with ``python3`` in
-the above command.
-
Configure Virtual Environment
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -254,8 +251,8 @@ virtual environment. This can be done like so:
.. note::
- If you installed a Python 3.x-based virtual environment package, adjust the
- executable indicated above as necessary, e.g. ``virtualenv-3.7``.
+ If you wish to use a specific Python version, you can provide the
+ ``--python`` argument to use this, e.g. ``--python=python3.7``.
Now install the packages. Patchwork provides three requirements files.