From 5a52573213b7e75c6b547609457a80d0fdfcb02f Mon Sep 17 00:00:00 2001 From: Lars Bilke <lars.bilke@ufz.de> Date: Thu, 21 Feb 2019 15:24:57 +0100 Subject: [PATCH] [doc] Use python3 for doc generation. --- scripts/doc/append-xml-tags.py | 2 +- scripts/doc/check-project-params.py | 2 +- scripts/doc/linked-xml-file.py | 2 +- scripts/doc/normalize-param-cache.py | 2 +- scripts/doc/print23.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/doc/append-xml-tags.py b/scripts/doc/append-xml-tags.py index bd7b7f99556..cfeedec168b 100755 --- a/scripts/doc/append-xml-tags.py +++ b/scripts/doc/append-xml-tags.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python3 # This script augments the parameter documentation pages by information # such as if they are required/optional, their data typ and in which diff --git a/scripts/doc/check-project-params.py b/scripts/doc/check-project-params.py index a96a74e90e6..54c4b397a49 100755 --- a/scripts/doc/check-project-params.py +++ b/scripts/doc/check-project-params.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python3 # This script actually generates the QA page. # For its usage see generate-project-file-doc-qa.sh diff --git a/scripts/doc/linked-xml-file.py b/scripts/doc/linked-xml-file.py index b0ebc07e6ca..af0ebceae66 100755 --- a/scripts/doc/linked-xml-file.py +++ b/scripts/doc/linked-xml-file.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python3 # This script traverses the DATADIR (where the ctest input data is) and creates # out of every prj file found a file in a subdirectory of DOCAUXDIR. diff --git a/scripts/doc/normalize-param-cache.py b/scripts/doc/normalize-param-cache.py index fb4f0491208..d4fdfeec1a7 100755 --- a/scripts/doc/normalize-param-cache.py +++ b/scripts/doc/normalize-param-cache.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python3 # This script takes the output of get-project-params.sh on stdin # and transforms it into a tabular representation for further diff --git a/scripts/doc/print23.py b/scripts/doc/print23.py index cdc46377e26..e3b74f737fc 100644 --- a/scripts/doc/print23.py +++ b/scripts/doc/print23.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python3 # Print statement that behaves the same for python 2 and 3. # E,g, print_(1.0, 2, "5") will always print the string "1.0 2 5". -- GitLab