summaryrefslogtreecommitdiff
path: root/tests/gen-installed-test.py
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2020-09-30 11:48:46 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2020-09-30 11:48:46 +0100
commitddc282f6ca84dc6e6e5586a0addfa82a74e6e761 (patch)
treec8a09a3218395da09f828fe00fa1e8da019034bd /tests/gen-installed-test.py
parent4f529e03c77a98fa8ab3d7c939e79e6f2bf32577 (diff)
downloadpango-ddc282f6ca84dc6e6e5586a0addfa82a74e6e761.tar.gz
build: Remove deprecated python3 Meson module use
We are using the deprecated python3 module for historical reasons. We used to support both Python 2 and Python 3 in the Autotools build, but since we switched to Meson we *know* we have Python 3 available. This allows us to use a shebang line in the Python scripts we use in the build, instead of invoking them through the Python interpreter in a custom target; Meson knows how to handle shebangs portably as well. This change removes the only deprecation warning coming from Meson when configuring the Pango build.
Diffstat (limited to 'tests/gen-installed-test.py')
-rw-r--r--tests/gen-installed-test.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/gen-installed-test.py b/tests/gen-installed-test.py
index 794ea107..eeb4abee 100644
--- a/tests/gen-installed-test.py
+++ b/tests/gen-installed-test.py
@@ -1,3 +1,5 @@
+#!/usr/bin/env python3
+
import sys
import argparse
import os