From 48fcee6e1bcce7bfe295f3143c4ee2d93c4b3904 Mon Sep 17 00:00:00 2001 From: albert-github Date: Fri, 4 Sep 2020 13:46:16 +0200 Subject: Consistency in documentation of used Python versions At some places Python version 2.6 was still mentioned, made uniform to 2.7 everywhere. (Is already a bit dubious as of January 1st, 2020 Python 2.7 will reached the end of its life., but still a lot will have Python 2.7 by default). --- doc/install.doc | 2 +- doc/translator.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/install.doc b/doc/install.doc index 97a0d7a..ba044b9 100644 --- a/doc/install.doc +++ b/doc/install.doc @@ -178,7 +178,7 @@ The next step is to install modern versions of \c bison and \c flex (see https://sourceforge.net/projects/winflexbison/. After installation and adding them to your `path` rename `win_flex.exe` to `flex.exe` and `win_bison.exe` to `bison.exe`) \addindex python -Furthermore you have to install \c python (version 2.6 or higher, see https://www.python.org). +Furthermore you have to install \c python (version 2.7 or higher, see https://www.python.org). These packages are needed during the compilation process. Download doxygen's source tarball and put it somewhere (e.g. use c:\\tools) diff --git a/doc/translator.py b/doc/translator.py index c4c75ef..af1ec4c 100644 --- a/doc/translator.py +++ b/doc/translator.py @@ -2002,11 +2002,11 @@ class TrManager: if __name__ == '__main__': - # The Python 2.6+ or 3.3+ is required. + # The Python 2.7+ or 3.3+ is required. major = sys.version_info[0] minor = sys.version_info[1] - if (major == 2 and minor < 6) or (major == 3 and minor < 0): - print('Python 2.6+ or Python 3.0+ are required for the script') + if (major == 2 and minor < 7) or (major == 3 and minor < 0): + print('Python 2.7+ or Python 3.0+ are required for the script') sys.exit(1) # The translator manager builds the Transl objects, parses the related -- cgit v0.12