[libxslt] Use portable python shebangs



commit 02c6ce836c6347f39cc46cce6111d85d4d8360e9
Author: David Seifert <soap gentoo org>
Date:   Tue Apr 5 11:45:23 2022 +0200

    Use portable python shebangs
    
    * In conda or Gentoo Prefix, we don't want to use the system python and
      instead rely on PATH lookup.

 doc/apibuild.py            | 2 +-
 python/generator.py        | 2 +-
 python/tests/basic.py      | 2 +-
 python/tests/exslt.py      | 2 +-
 python/tests/extelem.py    | 2 +-
 python/tests/extfunc.py    | 2 +-
 python/tests/pyxsltproc.py | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/doc/apibuild.py b/doc/apibuild.py
index ab0f4b72..6e59677c 100755
--- a/doc/apibuild.py
+++ b/doc/apibuild.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python -u
+#!/usr/bin/env python
 #
 # This is the API builder, it parses the C sources and build the
 # API formal description in XML.
diff --git a/python/generator.py b/python/generator.py
index df9fecec..025e58a1 100755
--- a/python/generator.py
+++ b/python/generator.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python -u
+#!/usr/bin/env python
 #
 # generate python wrappers from the XML API description
 #
diff --git a/python/tests/basic.py b/python/tests/basic.py
index 7d9f9867..46355de7 100755
--- a/python/tests/basic.py
+++ b/python/tests/basic.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python -u
+#!/usr/bin/env python
 import sys
 import libxml2
 # Memory debug specific
diff --git a/python/tests/exslt.py b/python/tests/exslt.py
index de5e42bf..b859d187 100755
--- a/python/tests/exslt.py
+++ b/python/tests/exslt.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python -u
+#!/usr/bin/env python
 import sys
 import libxml2
 # Memory debug specific
diff --git a/python/tests/extelem.py b/python/tests/extelem.py
index 0e1bf4bf..2528a399 100644
--- a/python/tests/extelem.py
+++ b/python/tests/extelem.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python -u
+#!/usr/bin/env python
 import sys
 import string
 import libxml2
diff --git a/python/tests/extfunc.py b/python/tests/extfunc.py
index a775494a..0853a55e 100755
--- a/python/tests/extfunc.py
+++ b/python/tests/extfunc.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python -u
+#!/usr/bin/env python
 import sys
 import string
 import libxml2
diff --git a/python/tests/pyxsltproc.py b/python/tests/pyxsltproc.py
index 43108c23..f2469243 100755
--- a/python/tests/pyxsltproc.py
+++ b/python/tests/pyxsltproc.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python -u
+#!/usr/bin/env python
 #
 # The exercise of rewriting xsltproc on top of the python
 # bindings, not complete yet and shows up the things missing


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]