[LyX/master] Make all exectuable python scripts use python3

José Matos jamatos at lyx.org
Fri Oct 30 18:21:50 UTC 2020


commit c539b57a0e6d21a5b2757d4c8ad522948eb52366
Author: José Matos <jamatos at lyx.org>
Date:   Fri Oct 30 18:46:13 2020 +0000

    Make all exectuable python scripts use python3
    
    This is only relevant on linux/unix if running the scripts from a shell.
    These two were the last where the call still used an unversioned python.
    
    This has no reflex on the way that lyx calls the scripts or the python
    version used since the #! "shebang line" is ignored.
---
 lib/configure.py           |    2 +-
 lib/scripts/gnuplot2pdf.py |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/configure.py b/lib/configure.py
index f7941b5..ca62e65 100644
--- a/lib/configure.py
+++ b/lib/configure.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python
+#! /usr/bin/python3
 # -*- coding: utf-8 -*-
 #
 # file configure.py
diff --git a/lib/scripts/gnuplot2pdf.py b/lib/scripts/gnuplot2pdf.py
index 33fe767..3ada4f5 100755
--- a/lib/scripts/gnuplot2pdf.py
+++ b/lib/scripts/gnuplot2pdf.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
 
 from subprocess import Popen, PIPE
 from sys import argv, stderr, exit


More information about the lyx-cvs mailing list