Commit 41db37eb authored by Link Mauve's avatar Link Mauve

Update the required Python version in the docs

parent 7edb400c
Pipeline #1517 passed with stages
in 2 minutes and 47 seconds
......@@ -29,7 +29,7 @@ MUCs, especially XEP 0045.
Install
=======================
You need python 3.4 or higher (preferably the latest) and the associated devel
You need python 3.5 or higher (preferably the latest) and the associated devel
package, to build C modules, and the slixmpp python library.
You also need aiodns if you want SRV record support.
......
......@@ -3,7 +3,7 @@
Installing poezio
=================
.. warning:: Python 3.4 or above is **required**.
.. warning:: Python 3.5 or above is **required**.
To install it on a distribution that doesn't provide it, see :ref:`pyenv <pyenv-install>`.
poezio in the GNU/Linux distributions
......@@ -61,7 +61,7 @@ support. Therefore, you might want to use the git version.
General
"""""""
Poezio is a python3.4 (and above)-only application, so you will first need that.
Poezio is a python3.5 (and above)-only application, so you will first need that.
Packages required for building poezio and deps:
......
.. _pyenv-install:
Installing python 3.4 as a user
Installing python 3.5 as a user
-------------------------------
Building your own python 3
......@@ -22,14 +22,13 @@ distributions not providing the latest stable version, such as Debian or
CentOS.
You can follow the step-by-step `installation tutorial`_ on github that will
help you install it to your home directory (on step 5, you should use 3.4.2
which is the latest python 3.4 release at the time of writing this page); or
you can use the `automated installer`_ and use ``pyenv install 3.4.2``
thereafter.
help you install it to your home directory (on step 5, you should use 3.7.0
which is the latest python release at the time of writing this page); or you
can use the `automated installer`_ and use ``pyenv install 3.7.0`` thereafter.
Then you only need to add a ``.python-version`` file containing ``3.4.2`` in
Then you only need to add a ``.python-version`` file containing ``3.7.0`` in
your poezio directory to make the python version in that directory default to
the python 3.4.2 installed with pyenv.
the python 3.7.0 installed with pyenv.
Other
......
......@@ -24,6 +24,6 @@ else
PYTHON3=python3
fi
$PYTHON3 -c 'import sys;(print("Python 3.4 or newer is required") and exit(1)) if sys.version_info < (3, 4) else exit(0)' || exit 1
$PYTHON3 -c 'import sys;(print("Python 3.5 or newer is required") and exit(1)) if sys.version_info < (3, 5) else exit(0)' || exit 1
exec "$PYTHON3" -m poezio -v "$args" "$@"
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