diff options
author | albert-github <albert.tests@gmail.com> | 2020-09-04 11:46:16 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2020-09-04 11:46:16 (GMT) |
commit | 48fcee6e1bcce7bfe295f3143c4ee2d93c4b3904 (patch) | |
tree | 8b7b3ae2f2285efb6f67662f2507496d80c1ec31 /doc | |
parent | e1d10844790b1f8386eada1ea73960b16e6bc440 (diff) | |
download | Doxygen-48fcee6e1bcce7bfe295f3143c4ee2d93c4b3904.zip Doxygen-48fcee6e1bcce7bfe295f3143c4ee2d93c4b3904.tar.gz Doxygen-48fcee6e1bcce7bfe295f3143c4ee2d93c4b3904.tar.bz2 |
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).
Diffstat (limited to 'doc')
-rw-r--r-- | doc/install.doc | 2 | ||||
-rw-r--r-- | 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 <code>c:\\tools</code>) 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
|