summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-08-13 22:38:01 +0200
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-08-13 22:38:01 +0200
commit41db37eb26258653e4b9a19b762515d6aca8218e (patch)
tree7a68e5bacb7d993e579ba8f6eeefe411ce637054
parent7edb400c5528079c3864425f624218164dc828f6 (diff)
downloadpoezio-41db37eb26258653e4b9a19b762515d6aca8218e.tar.gz
poezio-41db37eb26258653e4b9a19b762515d6aca8218e.tar.bz2
poezio-41db37eb26258653e4b9a19b762515d6aca8218e.tar.xz
poezio-41db37eb26258653e4b9a19b762515d6aca8218e.zip
Update the required Python version in the docs
-rw-r--r--README.rst2
-rw-r--r--doc/source/install.rst4
-rw-r--r--doc/source/misc/pyenv.rst13
-rwxr-xr-xlaunch.sh2
4 files changed, 10 insertions, 11 deletions
diff --git a/README.rst b/README.rst
index ae645808..ab40f393 100644
--- a/README.rst
+++ b/README.rst
@@ -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.
diff --git a/doc/source/install.rst b/doc/source/install.rst
index ce5694eb..98cc0df5 100644
--- a/doc/source/install.rst
+++ b/doc/source/install.rst
@@ -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:
diff --git a/doc/source/misc/pyenv.rst b/doc/source/misc/pyenv.rst
index e46f1bec..54958955 100644
--- a/doc/source/misc/pyenv.rst
+++ b/doc/source/misc/pyenv.rst
@@ -1,6 +1,6 @@
.. _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
diff --git a/launch.sh b/launch.sh
index b4beb839..c88972f0 100755
--- a/launch.sh
+++ b/launch.sh
@@ -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" "$@"