summaryrefslogtreecommitdiff
path: root/meson_compile_python.py
diff options
context:
space:
mode:
authorJordan Petridis <jpetridis@gnome.org>2019-06-30 21:35:44 +0300
committerBastien Nocera <hadess@hadess.net>2019-07-12 09:12:45 +0000
commitd2d014eb59e19342e2b87c89c5ee567aae86ea85 (patch)
treec6194d53665bb2d80b887373cb87ecad53ea5b91 /meson_compile_python.py
parent910302ee1b6df2ee7f3ab5b0bf2c925c491e1ca6 (diff)
downloadtotem-d2d014eb59e19342e2b87c89c5ee567aae86ea85.tar.gz
meson_compile_python.py: call python3 for the subproccess
Python2 is no longer available in the GNOME Sdk.
Diffstat (limited to 'meson_compile_python.py')
-rw-r--r--meson_compile_python.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/meson_compile_python.py b/meson_compile_python.py
index 9e399c8e4..cb52bf58d 100644
--- a/meson_compile_python.py
+++ b/meson_compile_python.py
@@ -7,7 +7,7 @@ installdir = os.environ['MESON_INSTALL_PREFIX']
if not os.environ.get('DESTDIR'):
print('Byte-compiling python modules...')
- subprocess.call(['python', '-m', 'compileall', '-f', '-q', installdir])
+ subprocess.call(['python3', '-m', 'compileall', '-f', '-q', installdir])
print('Byte-compiling python modules (optimized versions) ...')
- subprocess.call(['python', '-O', '-m', 'compileall', '-f', '-q', installdir])
+ subprocess.call(['python3', '-O', '-m', 'compileall', '-f', '-q', installdir])