diff options
author | David Seifert <soap@gentoo.org> | 2022-04-05 11:45:23 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2022-04-05 11:45:23 +0200 |
commit | 02c6ce836c6347f39cc46cce6111d85d4d8360e9 (patch) | |
tree | 13398c680afe46ab84cb3daccfe0add5c4b318db | |
parent | 383d6ea03bea02c970ca22387313f9f51b4909e5 (diff) | |
download | libxslt-02c6ce836c6347f39cc46cce6111d85d4d8360e9.tar.gz |
Use portable python shebangs
* In conda or Gentoo Prefix, we don't want to use the system python and
instead rely on PATH lookup.
-rwxr-xr-x | doc/apibuild.py | 2 | ||||
-rwxr-xr-x | python/generator.py | 2 | ||||
-rwxr-xr-x | python/tests/basic.py | 2 | ||||
-rwxr-xr-x | python/tests/exslt.py | 2 | ||||
-rw-r--r-- | python/tests/extelem.py | 2 | ||||
-rwxr-xr-x | python/tests/extfunc.py | 2 | ||||
-rwxr-xr-x | 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 |